{"action":"opened","issue":{"url":"https://api.github.com/repos/rjrodger/use-plugin/issues/4","labels_url":"https://api.github.com/repos/rjrodger/use-plugin/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rjrodger/use-plugin/issues/4/comments","events_url":"https://api.github.com/repos/rjrodger/use-plugin/issues/4/events","html_url":"https://github.com/rjrodger/use-plugin/issues/4","id":59590657,"number":4,"title":"module.require is not available in the browser","user":{"login":"AdrianRossouw","id":115108,"avatar_url":"https://avatars.githubusercontent.com/u/115108?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianRossouw","html_url":"https://github.com/AdrianRossouw","followers_url":"https://api.github.com/users/AdrianRossouw/followers","following_url":"https://api.github.com/users/AdrianRossouw/following{/other_user}","gists_url":"https://api.github.com/users/AdrianRossouw/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianRossouw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianRossouw/subscriptions","organizations_url":"https://api.github.com/users/AdrianRossouw/orgs","repos_url":"https://api.github.com/users/AdrianRossouw/repos","events_url":"https://api.github.com/users/AdrianRossouw/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianRossouw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-03T03:39:07Z","updated_at":"2015-03-03T03:39:07Z","closed_at":null,"body":"This means that all modules that depend on use-plugin are probably not portable to the browser environment until the implementation is rewritten to make use of the global require.\r\n\r\nThis is the relevant issue for [browserify](https://github.com/substack/node-browserify/issues/475), and the issue for [webpack](https://github.com/webpack/webpack/issues/20).\r\n\r\nThere's an added wrinkle here in that [browserify won't handle dynamic require statements](https://github.com/substack/node-browserify/issues/664), although webpack does try to do more in this regard.\r\n\r\n"}}