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: {