mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(vite): narrow vite-node inline pattern (#21224)
This commit is contained in:
parent
9723add182
commit
b7547c3ce1
@ -118,7 +118,7 @@ function createViteNodeApp (ctx: ViteBuildContext, invalidates: Set<string> = ne
|
||||
const node: ViteNodeServer = new ViteNodeServer(viteServer, {
|
||||
deps: {
|
||||
inline: [
|
||||
/\/(nuxt|nuxt3)\//,
|
||||
/\/node_modules\/(.*\/)?(nuxt|nuxt3)\//,
|
||||
/^#/,
|
||||
...transpile({ isServer: true, isDev: ctx.nuxt.options.dev })
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user