mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +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),
|
css: resolveCSSOptions(nuxt),
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
exclude: [
|
exclude: [
|
||||||
...nuxt.options.build.transpile.filter(i => typeof i === 'string'),
|
|
||||||
'ufo',
|
'ufo',
|
||||||
'date-fns',
|
'date-fns',
|
||||||
'nanoid',
|
'nanoid',
|
||||||
'vue',
|
'vue',
|
||||||
'vue2',
|
'vue2',
|
||||||
'vue2-bridge',
|
'vue2-bridge'
|
||||||
'vue-demi'
|
// 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: {
|
esbuild: {
|
||||||
|
Loading…
Reference in New Issue
Block a user