{"action":"opened","issue":{"url":"https://api.github.com/repos/rrag/react-stockcharts/issues/2","labels_url":"https://api.github.com/repos/rrag/react-stockcharts/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/rrag/react-stockcharts/issues/2/comments","events_url":"https://api.github.com/repos/rrag/react-stockcharts/issues/2/events","html_url":"https://github.com/rrag/react-stockcharts/issues/2","id":93788239,"number":2,"title":"Fix build with Browserify","user":{"login":"Arilas","id":3540524,"avatar_url":"https://avatars.githubusercontent.com/u/3540524?v=3","gravatar_id":"","url":"https://api.github.com/users/Arilas","html_url":"https://github.com/Arilas","followers_url":"https://api.github.com/users/Arilas/followers","following_url":"https://api.github.com/users/Arilas/following{/other_user}","gists_url":"https://api.github.com/users/Arilas/gists{/gist_id}","starred_url":"https://api.github.com/users/Arilas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arilas/subscriptions","organizations_url":"https://api.github.com/users/Arilas/orgs","repos_url":"https://api.github.com/users/Arilas/repos","events_url":"https://api.github.com/users/Arilas/events{/privacy}","received_events_url":"https://api.github.com/users/Arilas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-08T13:23:13Z","updated_at":"2015-07-08T13:23:13Z","closed_at":null,"body":"There's an Error occurred, when you want to build lib with Browserify:\r\n```\r\n[Error: Cannot find module 'lib/utils/PureComponent' from '....../node_modules/react-stockcharts/lib']\r\n```\r\n\r\nIn many files you use\r\n```js\r\nimport PureComponent from 'lib/utils/PureComponent'\r\n```\r\nBut should use relative paths (because Browserify try to find lib package):\r\n```js\r\nimport PureComponent from './utils/PureComponent'\r\n```"}}