mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
fix(nuxt): do not resolve deep imports for @vitest/
hotfix for https://github.com/vitejs/vite/pull/19016
This commit is contained in:
parent
7acc8c48fd
commit
01b2a780a2
@ -7,7 +7,7 @@ import type { Nuxt } from '@nuxt/schema'
|
||||
import { pkgDir } from '../../dirs'
|
||||
|
||||
export function resolveDeepImportsPlugin (nuxt: Nuxt): Plugin {
|
||||
const exclude: string[] = ['virtual:', '\0virtual:', '/__skip_vite']
|
||||
const exclude: string[] = ['virtual:', '\0virtual:', '/__skip_vite', '@vitest/']
|
||||
let conditions: string[]
|
||||
return {
|
||||
name: 'nuxt:resolve-bare-imports',
|
||||
|
Loading…
Reference in New Issue
Block a user