-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
[commonjs] Undeclared value gets exported #532
Comments
Thanks for opening an issue. Citing the issue template:
We cannot make this any clearer. Please add a valid reproduction from the list above and we'll be happy to triage further. |
Hey sorry, the script got ya. It doesn't recognize a gist as a repo. It's a little unorthodox, but no worries. |
It appears that this is a bug in Rollup core that is triggered by dynamically importing a file with synthetic named exports: https://repl.it/@lukastaegert/rollup-plugin-repro-1#dist/lib.js |
Fix at rollup/rollup#3738 |
commonjs
14.0.0
2.23.0
How to reproduce:
Expected Behavior
The last line of the output shouldn’t contain
index as i
:Actual Behavior
An non-declared value,
index
, gets exported:The text was updated successfully, but these errors were encountered: