Replies: 1 comment 2 replies
-
optimizeDeps mainly deals with upstream dependencies, and some projects have commonJS syntax in the source code, such as the original webpack project switching to vite, for example, with link dependencies on other local modules, through the vite-plugin-commonjs plugin they can choose to not to modify the source code. Another part of the reason is that there are still projects configured with optimizeDeps that don't work properly, I don't have statistics on which scenarios, there are examples of such in vite issues. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@ygj6
Sorry, I really don't understand the reason for doing this, so I would like to consult you
Beta Was this translation helpful? Give feedback.
All reactions