diff --git a/packages/bridge/src/vite/vite.ts b/packages/bridge/src/vite/vite.ts index 9502a54bf4..ca25bc0dbc 100644 --- a/packages/bridge/src/vite/vite.ts +++ b/packages/bridge/src/vite/vite.ts @@ -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: {