{"action":"created","issue":{"url":"https://api.github.com/repos/treycordova/jsxdom-loader/issues/1","labels_url":"https://api.github.com/repos/treycordova/jsxdom-loader/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/treycordova/jsxdom-loader/issues/1/comments","events_url":"https://api.github.com/repos/treycordova/jsxdom-loader/issues/1/events","html_url":"https://github.com/treycordova/jsxdom-loader/issues/1","id":125223418,"number":1,"title":"Tested with Babel or any other loaders in tandem?","user":{"login":"benderTheCrime","id":7144031,"avatar_url":"https://avatars.githubusercontent.com/u/7144031?v=3","gravatar_id":"","url":"https://api.github.com/users/benderTheCrime","html_url":"https://github.com/benderTheCrime","followers_url":"https://api.github.com/users/benderTheCrime/followers","following_url":"https://api.github.com/users/benderTheCrime/following{/other_user}","gists_url":"https://api.github.com/users/benderTheCrime/gists{/gist_id}","starred_url":"https://api.github.com/users/benderTheCrime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benderTheCrime/subscriptions","organizations_url":"https://api.github.com/users/benderTheCrime/orgs","repos_url":"https://api.github.com/users/benderTheCrime/repos","events_url":"https://api.github.com/users/benderTheCrime/events{/privacy}","received_events_url":"https://api.github.com/users/benderTheCrime/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-06T17:27:10Z","updated_at":"2016-01-13T05:37:02Z","closed_at":"2016-01-06T20:59:37Z","body":"Do you have any idea how this could be used in tandem with `babel-loader` or any other preloaders?\r\n\r\nIt does not seem to play nicely with `babel-loader`. I think this could be due to the fact that this is a preloader and `babel-loader` is a loader.\r\n\r\nI've tried:\r\n```javascript\r\n            preLoaders: [\r\n                {\r\n                    test: /\\.jsx$/,\r\n                    loader: [ 'babel', 'jsxdom' ],\r\n                    query: {\r\n                        presets: [ 'es2015' ]\r\n                    }\r\n                }\r\n            ]\r\n```\r\nwith your test .jsx file."},"comment":{"url":"https://api.github.com/repos/treycordova/jsxdom-loader/issues/comments/171176067","html_url":"https://github.com/treycordova/jsxdom-loader/issues/1#issuecomment-171176067","issue_url":"https://api.github.com/repos/treycordova/jsxdom-loader/issues/1","id":171176067,"user":{"login":"treycordova","id":1683813,"avatar_url":"https://avatars.githubusercontent.com/u/1683813?v=3","gravatar_id":"","url":"https://api.github.com/users/treycordova","html_url":"https://github.com/treycordova","followers_url":"https://api.github.com/users/treycordova/followers","following_url":"https://api.github.com/users/treycordova/following{/other_user}","gists_url":"https://api.github.com/users/treycordova/gists{/gist_id}","starred_url":"https://api.github.com/users/treycordova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treycordova/subscriptions","organizations_url":"https://api.github.com/users/treycordova/orgs","repos_url":"https://api.github.com/users/treycordova/repos","events_url":"https://api.github.com/users/treycordova/events{/privacy}","received_events_url":"https://api.github.com/users/treycordova/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T05:37:02Z","updated_at":"2016-01-13T05:37:02Z","body":"Yeah, I'll make some better notes around `es2015` support through acorn. Could probably set the default to `es2015`, to be honest."}}