diff --git a/packages/vite/src/server.ts b/packages/vite/src/server.ts index fee11919e1..9b04da63f1 100644 --- a/packages/vite/src/server.ts +++ b/packages/vite/src/server.ts @@ -23,6 +23,7 @@ export async function buildServer (ctx: ViteBuildContext) { 'axios' ], noExternal: [ + ...ctx.nuxt.options.build.transpile.filter(i => typeof i === 'string'), '@nuxt/app' ] },