[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: don't optimize vue when using optimizer

Vladimir Sheremet (Sep 22, 2023, 12:13 PM +0200) 4e941208 1f0249ee

+1
+1
packages/vitest/src/node/plugins/utils.ts
··· 30 30 'vitest', 31 31 // Ideally, we shouldn't optimize react in test mode, otherwise we need to optimize _every_ dependency that uses react. 32 32 'react', 33 + 'vue', 33 34 ...(testOptions.exclude || viteOptions?.exclude || []), 34 35 ] 35 36 const runtime = currentInclude.filter(n => n.endsWith('jsx-dev-runtime'))