mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix(vite): exclude optimising vue-router
(#332)
This commit is contained in:
parent
e0d2c78e05
commit
5d7ded368b
@ -49,7 +49,9 @@ export async function bundle (nuxt: Nuxt) {
|
||||
vue: {},
|
||||
css: {},
|
||||
optimizeDeps: {
|
||||
exclude: []
|
||||
exclude: [
|
||||
'vue-router'
|
||||
]
|
||||
},
|
||||
esbuild: {
|
||||
jsxFactory: 'h',
|
||||
|
Loading…
Reference in New Issue
Block a user