-
-
Notifications
You must be signed in to change notification settings - Fork 121
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the problem
dedupe does not work for optimized dependencies and this breaks stuff.
See
#124
vitejs/vite#3910
https://github.com/bluwy/vite-svelte-dedupe
Describe the proposed solution
To avoid this problem, automatically add svelte libraries to optimizeDeps.exclude.
Finding those libraries isn't bulletproof, the best you can do is check for the existance of a "svelte" field in it's package.json,
Alternatives considered
keep the status quo and users have to apply it manually
Importance
would make my life easier
benbender
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request