{"action":"created","issue":{"url":"https://api.github.com/repos/rollup/rollup/issues/275","labels_url":"https://api.github.com/repos/rollup/rollup/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup/issues/275/comments","events_url":"https://api.github.com/repos/rollup/rollup/issues/275/events","html_url":"https://github.com/rollup/rollup/issues/275","id":115406650,"number":275,"title":"[browser] process is not defined","user":{"login":"aeosynth","id":75317,"avatar_url":"https://avatars.githubusercontent.com/u/75317?v=3","gravatar_id":"","url":"https://api.github.com/users/aeosynth","html_url":"https://github.com/aeosynth","followers_url":"https://api.github.com/users/aeosynth/followers","following_url":"https://api.github.com/users/aeosynth/following{/other_user}","gists_url":"https://api.github.com/users/aeosynth/gists{/gist_id}","starred_url":"https://api.github.com/users/aeosynth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeosynth/subscriptions","organizations_url":"https://api.github.com/users/aeosynth/orgs","repos_url":"https://api.github.com/users/aeosynth/repos","events_url":"https://api.github.com/users/aeosynth/events{/privacy}","received_events_url":"https://api.github.com/users/aeosynth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rollup/rollup/labels/browser","name":"browser","color":"eb6420"},{"url":"https://api.github.com/repos/rollup/rollup/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-06T00:22:21Z","updated_at":"2015-11-07T20:06:24Z","closed_at":null,"body":"rollup@0.20.5, using rollup.browser.js:\r\n\r\n    rollup.rollup({entry: 'index.js'})\r\n    Promise {[[PromiseStatus]]: \"pending\", [[PromiseValue]]: undefined}\r\n    defaults.js:22 Uncaught (in promise) ReferenceError: process is not defined(…)\r\n\r\nthere is no documentation on how to use the browser build, so maybe i'm doing something wrong"},"comment":{"url":"https://api.github.com/repos/rollup/rollup/issues/comments/154743796","html_url":"https://github.com/rollup/rollup/issues/275#issuecomment-154743796","issue_url":"https://api.github.com/repos/rollup/rollup/issues/275","id":154743796,"user":{"login":"Rich-Harris","id":1162160,"avatar_url":"https://avatars.githubusercontent.com/u/1162160?v=3","gravatar_id":"","url":"https://api.github.com/users/Rich-Harris","html_url":"https://github.com/Rich-Harris","followers_url":"https://api.github.com/users/Rich-Harris/followers","following_url":"https://api.github.com/users/Rich-Harris/following{/other_user}","gists_url":"https://api.github.com/users/Rich-Harris/gists{/gist_id}","starred_url":"https://api.github.com/users/Rich-Harris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rich-Harris/subscriptions","organizations_url":"https://api.github.com/users/Rich-Harris/orgs","repos_url":"https://api.github.com/users/Rich-Harris/repos","events_url":"https://api.github.com/users/Rich-Harris/events{/privacy}","received_events_url":"https://api.github.com/users/Rich-Harris/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T20:06:24Z","updated_at":"2015-11-07T20:06:24Z","body":"You probably need to specify a loader plugin – here's [how it's used on rollupjs.org](https://github.com/rollup/rollupjs.org/blob/367292f35958093cbb30e62bef37832443c5033d/src/app/main.js#L77-L94) (loading modules from memory). Without that, it falls back to trying to resolve against `process.cwd()`, which I suspect is the source of that error.\r\n\r\nWe should\r\n\r\n* [ ] have a better error message\r\n* [ ] update the documentation"}}