mirror of https://github.com/nuxt/nuxt.git
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