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

Add support for creating module preloads for only the static dependencies #2518

Closed
dasa opened this issue Apr 6, 2023 · 2 comments · Fixed by #2531
Closed

Add support for creating module preloads for only the static dependencies #2518

dasa opened this issue Apr 6, 2023 · 2 comments · Fixed by #2531

Comments

@dasa
Copy link

dasa commented Apr 6, 2023

It currently seems to also create modulepreload's for the dynamic imports. I'd like these to only be loaded as needed.

@guybedford
Copy link
Member

We could definitely add a --preload-static. Perhaps we could even make it the default and have --preload=dynamic for doing both static and dynamic preloading, where --preload=static is the default.

@guybedford guybedford transferred this issue from another repository Apr 8, 2023
@dasa
Copy link
Author

dasa commented Apr 12, 2023

making it the default sounds good 😄

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.

2 participants