From f5574fc9ca17c9de0f2aa31f4acaae4ad0de80ff Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 16 Jan 2025 17:02:46 +0000 Subject: [PATCH] chore: remove config that will be respected by vite-node --- packages/vite/src/vite-node.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/vite/src/vite-node.ts b/packages/vite/src/vite-node.ts index 8b901e510b..28bf6a8d76 100644 --- a/packages/vite/src/vite-node.ts +++ b/packages/vite/src/vite-node.ts @@ -123,16 +123,10 @@ function createViteNodeApp (ctx: ViteBuildContext, invalidates: Set = ne // Common /^#/, /\?/, - ...( - viteServer.config.ssr.noExternal && viteServer.config.ssr.noExternal !== true - ? toArray(viteServer.config.ssr.noExternal) - : [] - ), ], external: [ '#shared', new RegExp('^' + escapeStringRegexp(withTrailingSlash(resolve(ctx.nuxt.options.rootDir, ctx.nuxt.options.dir.shared)))), - ...(viteServer.config.ssr.external as string[]) || [], ], }, transformMode: {