[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

fix: workaround `noExternal` merging bug on Vite 6 (#8950)

authored by

Hiroshi Ogawa and committed by
GitHub
(Nov 6, 2025, 12:51 PM +0100) bcb132fd 997ca5a8

+6
+6
packages/vitest/src/node/plugins/runnerTransform.ts
··· 145 145 // in both SSR and Client environments 146 146 environment.resolve.noExternal = true 147 147 148 + // Workaround `noExternal` merging bug on Vite 6 149 + // https://github.com/vitejs/vite/pull/20502 150 + if (name === 'ssr') { 151 + delete config.ssr?.noExternal 152 + } 153 + 148 154 if (name === '__vitest_vm__' || name === '__vitest__') { 149 155 continue 150 156 }