fix(vite): exclude optimising `vue-router` (#332)

This commit is contained in:
Daniel Roe 2021-07-15 15:42:11 +01:00 committed by GitHub
parent e0d2c78e05
commit 5d7ded368b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ export async function bundle (nuxt: Nuxt) {
vue: {},
css: {},
optimizeDeps: {
exclude: []
exclude: [
'vue-router'
]
},
esbuild: {
jsxFactory: 'h',