-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Open
Description
Description
Current behavior in v2: when an SSR dependency some-library is noExternal, then Vite will as well noExternal all some-library's dependencies.
Current behavior in v3 (beta): slightly better because it only noExternal dependencies of some-libraries that cannot be resolved. (Correct me if I'm wrong.)
Suggested solution
Externalize all some-library's dependencies. I.e. only make some-library noExternal.
Priority
Low. (Because AFAICT this doesn't cause the same problems than noExternalize too many SSR user dependencies.)
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable