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
Code splitting : Identifier 'React' has already been declared #2715
Labels
Comments
update : it seems the issue is not present in older versions of rollup (it worked with 1.0.1) |
9 tasks
Fix at #2719 |
that was fast ! thank you 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
How Do We Reproduce?
https://github.com/camille-hdl/rollup-starter-code-splitting
(instructions in the readme)
React
) from another file that also importsReact
,Expected Behavior
React
is not aliased twice, the page works.Actual Behavior
In the output,
React
is aliased twice in a import statement:resulting in the following error message in the console:
The text was updated successfully, but these errors were encountered: