-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
feat: library mode does not include preload #4097
Conversation
I think this makes sense. We'll review this with the team next week to get approval for the new feature. |
@ygj6 we discussed this with the team and we think it is better to avoid adding a new option here. We should directly disable the preload scheme in library mode, that would fix the issue that has a definite use case. You could reuse this PR or start a new one. |
okay, I will submit a PR as soon as possible. |
Thanks for all the work you are doing for vite @ygj6 ❤️ |
The code is updated, please review, thank you. |
Description
Related issues #3133 #3662
Addbuild.autoPreload
switch configuration. When set to false,__vitePreload
helper method will not be inserted.Support library mode does not include preload
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).