mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
fix(bridge): revert optimization exclusion for vue-demi
(#1932)
This commit is contained in:
parent
6b873f15bc
commit
fb2e8ccba5
@ -51,14 +51,15 @@ async function bundle (nuxt: Nuxt, builder: any) {
|
||||
css: resolveCSSOptions(nuxt),
|
||||
optimizeDeps: {
|
||||
exclude: [
|
||||
...nuxt.options.build.transpile.filter(i => typeof i === 'string'),
|
||||
'ufo',
|
||||
'date-fns',
|
||||
'nanoid',
|
||||
'vue',
|
||||
'vue2',
|
||||
'vue2-bridge',
|
||||
'vue-demi'
|
||||
'vue2-bridge'
|
||||
// TODO(Anthony): waiting for Vite's fix https://github.com/vitejs/vite/issues/5688
|
||||
// ...nuxt.options.build.transpile.filter(i => typeof i === 'string'),
|
||||
// 'vue-demi'
|
||||
]
|
||||
},
|
||||
esbuild: {
|
||||
|
Loading…
Reference in New Issue
Block a user