{"action":"created","issue":{"url":"https://api.github.com/repos/calvinmetcalf/rollup-plugin-node-globals/issues/1","repository_url":"https://api.github.com/repos/calvinmetcalf/rollup-plugin-node-globals","labels_url":"https://api.github.com/repos/calvinmetcalf/rollup-plugin-node-globals/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/calvinmetcalf/rollup-plugin-node-globals/issues/1/comments","events_url":"https://api.github.com/repos/calvinmetcalf/rollup-plugin-node-globals/issues/1/events","html_url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues/1","id":141296295,"number":1,"title":"'import' and 'export' may only appear at the top level (45:0) in process-es6/browser.js","user":{"login":"iamale","id":1298948,"avatar_url":"https://avatars.githubusercontent.com/u/1298948?v=3","gravatar_id":"","url":"https://api.github.com/users/iamale","html_url":"https://github.com/iamale","followers_url":"https://api.github.com/users/iamale/followers","following_url":"https://api.github.com/users/iamale/following{/other_user}","gists_url":"https://api.github.com/users/iamale/gists{/gist_id}","starred_url":"https://api.github.com/users/iamale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamale/subscriptions","organizations_url":"https://api.github.com/users/iamale/orgs","repos_url":"https://api.github.com/users/iamale/repos","events_url":"https://api.github.com/users/iamale/events{/privacy}","received_events_url":"https://api.github.com/users/iamale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-16T14:46:08Z","updated_at":"2016-03-16T15:00:35Z","closed_at":null,"body":"Hello!\r\n\r\nI get this weird error when I activate rollup-plugin-node-globals:\r\n```\r\nSyntaxError: 'import' and 'export' may only appear at the top level (45:0) in project_root/node_modules/rollup-plugin-node-globals/node_modules/process-es6/browser.js\r\n    at Parser.pp.raise (project_root/node_modules/rollup-plugin-node-globals/node_modules/rollup-plugin-inject/node_modules/acorn/dist/acorn.js:943:13)\r\n```\r\n\r\nWhat could have gone wrong?"},"comment":{"url":"https://api.github.com/repos/calvinmetcalf/rollup-plugin-node-globals/issues/comments/197370397","html_url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues/1#issuecomment-197370397","issue_url":"https://api.github.com/repos/calvinmetcalf/rollup-plugin-node-globals/issues/1","id":197370397,"user":{"login":"calvinmetcalf","id":1128607,"avatar_url":"https://avatars.githubusercontent.com/u/1128607?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinmetcalf","html_url":"https://github.com/calvinmetcalf","followers_url":"https://api.github.com/users/calvinmetcalf/followers","following_url":"https://api.github.com/users/calvinmetcalf/following{/other_user}","gists_url":"https://api.github.com/users/calvinmetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinmetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinmetcalf/subscriptions","organizations_url":"https://api.github.com/users/calvinmetcalf/orgs","repos_url":"https://api.github.com/users/calvinmetcalf/repos","events_url":"https://api.github.com/users/calvinmetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/calvinmetcalf/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T15:00:35Z","updated_at":"2016-03-16T15:00:35Z","body":"you are using in conjunction with the commonjs plugin which is mistaking it for a commonjs file that needs to be transpiled, assuming you're just using process, you should add the ignoreGlobals flag as soon as the version that supports it is published."}}