{"action":"created","issue":{"url":"https://api.github.com/repos/davidguttman/react-pivot/issues/23","labels_url":"https://api.github.com/repos/davidguttman/react-pivot/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/davidguttman/react-pivot/issues/23/comments","events_url":"https://api.github.com/repos/davidguttman/react-pivot/issues/23/events","html_url":"https://github.com/davidguttman/react-pivot/issues/23","id":107556631,"number":23,"title":"Module parse failed with webpack","user":{"login":"nicolas-despres","id":10028497,"avatar_url":"https://avatars.githubusercontent.com/u/10028497?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-despres","html_url":"https://github.com/nicolas-despres","followers_url":"https://api.github.com/users/nicolas-despres/followers","following_url":"https://api.github.com/users/nicolas-despres/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-despres/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-despres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-despres/subscriptions","organizations_url":"https://api.github.com/users/nicolas-despres/orgs","repos_url":"https://api.github.com/users/nicolas-despres/repos","events_url":"https://api.github.com/users/nicolas-despres/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-despres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T17:09:16Z","updated_at":"2015-09-21T18:04:07Z","closed_at":null,"body":"Hi,\r\nIt is probably related to my yet limited knowlegde of weback but I installed this repo using npm and added \r\n```javascript\r\nimport ReactPivot from 'react-pivot';\r\n```\r\nAs I am using ES6 in my project.\r\nWhen I run my build I have the following error occuring:\r\n\r\n```javascript\r\nERROR in ./~/react-pivot/index.jsx\r\nModule parse failed: C:\\myfrontend\\node_modules\\react-pivot\\index.jsx Line 197:\r\nUnexpected token <\r\nYou may need an appropriate loader to handle this file type.\r\n```\r\nI did the same process with other libraries and did not have such error message.\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/davidguttman/react-pivot/issues/comments/142062793","html_url":"https://github.com/davidguttman/react-pivot/issues/23#issuecomment-142062793","issue_url":"https://api.github.com/repos/davidguttman/react-pivot/issues/23","id":142062793,"user":{"login":"davidguttman","id":431696,"avatar_url":"https://avatars.githubusercontent.com/u/431696?v=3","gravatar_id":"","url":"https://api.github.com/users/davidguttman","html_url":"https://github.com/davidguttman","followers_url":"https://api.github.com/users/davidguttman/followers","following_url":"https://api.github.com/users/davidguttman/following{/other_user}","gists_url":"https://api.github.com/users/davidguttman/gists{/gist_id}","starred_url":"https://api.github.com/users/davidguttman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidguttman/subscriptions","organizations_url":"https://api.github.com/users/davidguttman/orgs","repos_url":"https://api.github.com/users/davidguttman/repos","events_url":"https://api.github.com/users/davidguttman/events{/privacy}","received_events_url":"https://api.github.com/users/davidguttman/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T18:04:07Z","updated_at":"2015-09-21T18:04:07Z","body":"I'm not familiar with webpack either, but I'm guessing that it's having trouble with the html tags in the jsx file. I'd recommend looking into how to set up https://babeljs.io/ with webpack or just use http://browserify.org/ which should just work."}}