fix(vite): exclude nuxt/app from optimised deps

This commit is contained in:
Daniel Roe 2023-02-14 00:36:46 +00:00
parent 2960aa3426
commit 9e789c76c0

View File

@ -53,7 +53,8 @@ export async function bundle (nuxt: Nuxt) {
} }
}, },
optimizeDeps: { optimizeDeps: {
include: ['vue'] include: ['vue'],
exclude: ['nuxt/app']
}, },
css: resolveCSSOptions(nuxt), css: resolveCSSOptions(nuxt),
build: { build: {