vite icon indicating copy to clipboard operation
vite copied to clipboard

fix: fix `ssr.optimizeDeps.include` with `dep1 > dep2` syntax

Open hi-ogawa opened this issue 1 year ago • 1 comments

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?

hi-ogawa avatar Apr 12 '24 08:04 hi-ogawa

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.