mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +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: {},
|
vue: {},
|
||||||
css: {},
|
css: {},
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
exclude: []
|
exclude: [
|
||||||
|
'vue-router'
|
||||||
|
]
|
||||||
},
|
},
|
||||||
esbuild: {
|
esbuild: {
|
||||||
jsxFactory: 'h',
|
jsxFactory: 'h',
|
||||||
|
Loading…
Reference in New Issue
Block a user