Skip to content

Commit

Permalink
fix(vite): exclude nuxt/app from optimised deps
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 14, 2023
1 parent 2960aa3 commit 9e789c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vite/src/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export async function bundle (nuxt: Nuxt) {
}
},
optimizeDeps: {
include: ['vue']
include: ['vue'],
exclude: ['nuxt/app']
},
css: resolveCSSOptions(nuxt),
build: {
Expand Down

0 comments on commit 9e789c7

Please sign in to comment.