{"action":"created","issue":{"url":"https://api.github.com/repos/survivejs/react-component-boilerplate/issues/21","labels_url":"https://api.github.com/repos/survivejs/react-component-boilerplate/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/survivejs/react-component-boilerplate/issues/21/comments","events_url":"https://api.github.com/repos/survivejs/react-component-boilerplate/issues/21/events","html_url":"https://github.com/survivejs/react-component-boilerplate/issues/21","id":123321184,"number":21,"title":"Can't run `dist` task.","user":{"login":"raphaelparent","id":10236365,"avatar_url":"https://avatars.githubusercontent.com/u/10236365?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaelparent","html_url":"https://github.com/raphaelparent","followers_url":"https://api.github.com/users/raphaelparent/followers","following_url":"https://api.github.com/users/raphaelparent/following{/other_user}","gists_url":"https://api.github.com/users/raphaelparent/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelparent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelparent/subscriptions","organizations_url":"https://api.github.com/users/raphaelparent/orgs","repos_url":"https://api.github.com/users/raphaelparent/repos","events_url":"https://api.github.com/users/raphaelparent/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelparent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-21T17:23:19Z","updated_at":"2015-12-21T18:30:19Z","closed_at":null,"body":"I downloaded this boilerplate and modified a couple thing (removed the renderJSX from the webpack config, render the component directly in the body, etc.). And now I'm trying tp run `npm run dist` and i get an error.\r\n\r\n```\r\nERROR in ./demo/App.jsx\r\nModule parse failed: /Users/rparent/Documents/CTSProjects/cem/modules/boilerplate/demo/App.jsx Line 2: Unexpected token\r\nYou may need an appropriate loader to handle this file type.\r\n| \r\n| import React from 'react';\r\n| import Fork from 'react-ghfork';\r\n| import pkgInfo from '../package.json';\r\n @ ./src/index.js 3:13-39\r\n``` \r\n\r\nAnd this is the content of the App.jsx file.\r\n```\r\nimport React from 'react';\r\nimport Fork from 'react-ghfork';\r\nimport pkgInfo from '../package.json';\r\n\r\nexport default class App extends React.Component {\r\n  render() {\r\n    return (\r\n      <div>\r\n        <p>This is some text</p>\r\n      </div>\r\n    );\r\n  }\r\n}\r\n```\r\n\r\nI'm not familiar with webpack and npm scripts yet so this might a really small thing somewhere that I forgot.\r\n\r\nI can provide more code if you want.\r\n\r\nThanks :smiley: "},"comment":{"url":"https://api.github.com/repos/survivejs/react-component-boilerplate/issues/comments/166383319","html_url":"https://github.com/survivejs/react-component-boilerplate/issues/21#issuecomment-166383319","issue_url":"https://api.github.com/repos/survivejs/react-component-boilerplate/issues/21","id":166383319,"user":{"login":"raphaelparent","id":10236365,"avatar_url":"https://avatars.githubusercontent.com/u/10236365?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaelparent","html_url":"https://github.com/raphaelparent","followers_url":"https://api.github.com/users/raphaelparent/followers","following_url":"https://api.github.com/users/raphaelparent/following{/other_user}","gists_url":"https://api.github.com/users/raphaelparent/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelparent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelparent/subscriptions","organizations_url":"https://api.github.com/users/raphaelparent/orgs","repos_url":"https://api.github.com/users/raphaelparent/repos","events_url":"https://api.github.com/users/raphaelparent/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelparent/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T18:30:19Z","updated_at":"2015-12-21T18:30:19Z","body":"I was working with the same structures that you have, with demo and src. I'll try that."}}