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

Preact modules are loaded with modulepreload even if they're not used #156

Open
eyelidlessness opened this issue May 3, 2021 · 0 comments

Comments

@eyelidlessness
Copy link
Collaborator

Steps to reproduce

  1. Include any hydrated component on a page
  2. Build

Expected behavior

The only modules which are preloaded are preact and any other explicit dependency.

Observed behavior

Every module exported by Preact's package.json is preloaded whether it's used or not.

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

No branches or pull requests

1 participant