diff --git a/packages/vite/src/vite.ts b/packages/vite/src/vite.ts index 3d38554fbd..9bc01523d7 100644 --- a/packages/vite/src/vite.ts +++ b/packages/vite/src/vite.ts @@ -53,7 +53,8 @@ export async function bundle (nuxt: Nuxt) { } }, optimizeDeps: { - include: ['vue'] + include: ['vue'], + exclude: ['nuxt/app'] }, css: resolveCSSOptions(nuxt), build: {