{"action":"opened","issue":{"url":"https://api.github.com/repos/gaearon/react-transform-hmr/issues/37","labels_url":"https://api.github.com/repos/gaearon/react-transform-hmr/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/react-transform-hmr/issues/37/comments","events_url":"https://api.github.com/repos/gaearon/react-transform-hmr/issues/37/events","html_url":"https://github.com/gaearon/react-transform-hmr/issues/37","id":121826499,"number":37,"title":"module.exports now throwing \"Unexpected indentifier\" error at runtime","user":{"login":"mgreer","id":643930,"avatar_url":"https://avatars.githubusercontent.com/u/643930?v=3","gravatar_id":"","url":"https://api.github.com/users/mgreer","html_url":"https://github.com/mgreer","followers_url":"https://api.github.com/users/mgreer/followers","following_url":"https://api.github.com/users/mgreer/following{/other_user}","gists_url":"https://api.github.com/users/mgreer/gists{/gist_id}","starred_url":"https://api.github.com/users/mgreer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgreer/subscriptions","organizations_url":"https://api.github.com/users/mgreer/orgs","repos_url":"https://api.github.com/users/mgreer/repos","events_url":"https://api.github.com/users/mgreer/events{/privacy}","received_events_url":"https://api.github.com/users/mgreer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-12T02:16:46Z","updated_at":"2015-12-12T02:16:46Z","closed_at":null,"body":"This happens on on dev environment, and only at runtime. And only for ES6 classes (not React.createClass components) being used in redux-forms.\r\n\r\n`\r\nclass GiftCodeForm extends React.Component {\r\n...\r\n}\r\n...\r\nmodule.exports = connectReduxForm({\r\n    form: 'gift_code_form', \r\n    fields: ['code'],\r\n    validate: validateForm\r\n})(GiftCodeForm);\r\nmodule.exports = GiftCodeForm;\r\n`\r\nI'm using babel6 and the new babel-react-transform."}}