Skip to content
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

Split bundles from dynamic imports are being injected. #34

Open
Blitzy opened this issue Feb 20, 2021 · 0 comments · May be fixed by #40
Open

Split bundles from dynamic imports are being injected. #34

Blitzy opened this issue Feb 20, 2021 · 0 comments · May be fixed by #40

Comments

@Blitzy
Copy link

Blitzy commented Feb 20, 2021

I discovered this started happening specifically in the transition from 1.6.1 -> 1.7.0

This is what my index.html bundle injection looked like in 1.6.1:
image

When it upgraded to 1.7.0 it started injecting every single bundle generated, not just the entry point:
image

Right now I'm working around this issue by just forcing the use of 1.6.1 in my package.json. This is in essence breaking the use of dynamic imports with rollup.

Here's what the config of the plugin looks like in my rollup.config.js:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant