-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'import' and 'export' may only appear at the top level (45:0) in process-es6/browser.js #1
Comments
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. |
I believe v1.0.3 should work the current commonjs plugin, so you should be able to use that between now and the commonjs version getting updated |
OK, thanks for the advices! Installing the git master version of |
Any ETA on this? Also 1.0.3 does not seem to work with |
I have no control nor knowledge of when their going to publish that, and 1.0.3 should work, what issue do you get? |
It's the same issue:
However it could be an environment specific thing. I will try rearranging plugins to see what happens. |
Although now I'm thinking that it is not the same issue since the file paths are different. It is very strange that my config file imports are pulling straight from the |
yeah just put that file in your excludes from the commonjs plugin On Tue, Mar 29, 2016 at 2:25 PM Tyler Johnson [email protected]
|
Yep that was the fix! Thanks! |
Hello!
I get this weird error when I activate rollup-plugin-node-globals:
What could have gone wrong?
The text was updated successfully, but these errors were encountered: