-
-
Notifications
You must be signed in to change notification settings - Fork 121
-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
speeds up the loading of third-party libraries #70
Labels
enhancement
New feature or request
Comments
FranckFreiburger
added a commit
that referenced
this issue
May 17, 2021
…dule option closes issue #70
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Loading 3rd party libraries could be very long since
vue3-sfc-loader
is processing every dependencies through babel (for CJS transformation and dependencies static analysis).For instance,
babylon.max.js
takes around 17s to load.Describe the solution you'd like
The simplest solution is to give control to the caller about what to transpile and what to not transpile.
eg. do not transpile babylon
These libraries must be leaves of the whole dependency graph since no static analysis will be performed on them.
These libraries must already be CJS (or obviously UMD).
Additional context
see #50
The text was updated successfully, but these errors were encountered: