mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
chore: remove config that will be respected by vite-node
This commit is contained in:
parent
40f2e666f2
commit
f5574fc9ca
@ -123,16 +123,10 @@ function createViteNodeApp (ctx: ViteBuildContext, invalidates: Set<string> = ne
|
|||||||
// Common
|
// Common
|
||||||
/^#/,
|
/^#/,
|
||||||
/\?/,
|
/\?/,
|
||||||
...(
|
|
||||||
viteServer.config.ssr.noExternal && viteServer.config.ssr.noExternal !== true
|
|
||||||
? toArray(viteServer.config.ssr.noExternal)
|
|
||||||
: []
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
external: [
|
external: [
|
||||||
'#shared',
|
'#shared',
|
||||||
new RegExp('^' + escapeStringRegexp(withTrailingSlash(resolve(ctx.nuxt.options.rootDir, ctx.nuxt.options.dir.shared)))),
|
new RegExp('^' + escapeStringRegexp(withTrailingSlash(resolve(ctx.nuxt.options.rootDir, ctx.nuxt.options.dir.shared)))),
|
||||||
...(viteServer.config.ssr.external as string[]) || [],
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
transformMode: {
|
transformMode: {
|
||||||
|
Loading…
Reference in New Issue
Block a user