From 5bd639a4938ce15ea2584b831915123192c69aa0 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 14 Jun 2021 20:52:40 +0200 Subject: [PATCH] fix(vite): add nuxt/app to noExternal --- packages/vite/src/server.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/vite/src/server.ts b/packages/vite/src/server.ts index cade43cd62..ef64176241 100644 --- a/packages/vite/src/server.ts +++ b/packages/vite/src/server.ts @@ -22,6 +22,9 @@ export async function buildServer (ctx: ViteBuildContext) { ssr: { external: [ 'axios' + ], + noExternal: [ + '@nuxt/app' ] }, build: {