Replies: 1 comment 3 replies
-
I can try open a new PR for this, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now the
node_modules
dependencies code is bundled inbrowser_modules
files by esinstall all at once before runningsnowpack dev
For big projects with many dependencies this is not ideal because you have to wait for all the dependencies to be bundled even if you won't use them right away
It would be cool to run
esinstall
at request time:web_modules/file.js
esinstall
to bundle the dependency in a single fileThis way in a large project that makes use of code splitting via dynamic
import
you only bundle the dependencies you need, making the start up time smallerThis may be related to #1052
Beta Was this translation helpful? Give feedback.
All reactions