vite
vite copied to clipboard
fix: fix `ssr.optimizeDeps.include` with `dep1 > dep2` syntax
Description
- closes https://github.com/vitejs/vite/issues/16405
I'm not totally sure if this is a right fix, but it seems to work when testing a patch locally. Let me check with CI.
Considering ssr deps optimization is only done by resolving explicitly specified include, I'm not sure what's the purpose of __vite_skip_optimization. Could someone explain what's the idea behind this?
Run & review this pull request in StackBlitz Codeflow.