{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1116","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1116/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1116/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1116/events","html_url":"https://github.com/webpack/webpack/issues/1116","id":81080159,"number":1116,"title":"ES6 support?","user":{"login":"remimarenco","id":2152858,"avatar_url":"https://avatars.githubusercontent.com/u/2152858?v=3","gravatar_id":"","url":"https://api.github.com/users/remimarenco","html_url":"https://github.com/remimarenco","followers_url":"https://api.github.com/users/remimarenco/followers","following_url":"https://api.github.com/users/remimarenco/following{/other_user}","gists_url":"https://api.github.com/users/remimarenco/gists{/gist_id}","starred_url":"https://api.github.com/users/remimarenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remimarenco/subscriptions","organizations_url":"https://api.github.com/users/remimarenco/orgs","repos_url":"https://api.github.com/users/remimarenco/repos","events_url":"https://api.github.com/users/remimarenco/events{/privacy}","received_events_url":"https://api.github.com/users/remimarenco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T18:28:39Z","updated_at":"2015-05-26T19:04:00Z","closed_at":null,"body":"Hi guys!\r\n\r\nI had this error when I tried to use some ES6 code:\r\n\r\n`ERROR in ./src/scripts/components/report.js\r\nModule parse failed: /home/remi/_Dev/JsCoverageQC/node_modules/react-hot-loader/index.js!/home/remi/_Dev/JsCoverageQC/node_modules/jsx-loader/index.js?harmony!/home/remi/_Dev/JsCoverageQC/node_modules/jsxhint-loader/index.js!/home/remi/_Dev/JsCoverageQC/src/scripts/components/report.js Line 134: Unexpected token [\r\nYou may need an appropriate loader to handle this file type.\r\n| \t\t\t// Used to change immutable data : https://facebook.github.io/react/docs/update.html\r\n| \t\t\tvar objVariantChecked_ToAdd = {\r\n| \t\t\t\t[key]: {\r\n| \t\t\t\t\t$set: variant\r\n| \t\t\t\t}\r\n @ ./src/scripts/components/JsCoverageQcApp.js 15:13-32`\r\n\r\nI guess this is related to ES6 and I have found an [opened issue](https://github.com/webpack/webpack/issues/532) who seems to address this problem.\r\n\r\nCould you guys confirm this? Or is it related to another problem?\r\n\r\nIf this is the problem, how do you think I can resolve this?\r\n"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/105636114","html_url":"https://github.com/webpack/webpack/issues/1116#issuecomment-105636114","issue_url":"https://api.github.com/repos/webpack/webpack/issues/1116","id":105636114,"user":{"login":"Sinewyk","id":1826366,"avatar_url":"https://avatars.githubusercontent.com/u/1826366?v=3","gravatar_id":"","url":"https://api.github.com/users/Sinewyk","html_url":"https://github.com/Sinewyk","followers_url":"https://api.github.com/users/Sinewyk/followers","following_url":"https://api.github.com/users/Sinewyk/following{/other_user}","gists_url":"https://api.github.com/users/Sinewyk/gists{/gist_id}","starred_url":"https://api.github.com/users/Sinewyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sinewyk/subscriptions","organizations_url":"https://api.github.com/users/Sinewyk/orgs","repos_url":"https://api.github.com/users/Sinewyk/repos","events_url":"https://api.github.com/users/Sinewyk/events{/privacy}","received_events_url":"https://api.github.com/users/Sinewyk/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T19:04:00Z","updated_at":"2015-05-26T19:04:00Z","body":"Confirmed, you have to wait for webpack 2 or fork it and switch from esprima to esprima-fb in the package.json. Did it to test, and works quite well.\r\n\r\nYou can close this ^^."}}