diff --git a/packages/vite/src/client.ts b/packages/vite/src/client.ts index 35001c19ed3..f896f07b30b 100644 --- a/packages/vite/src/client.ts +++ b/packages/vite/src/client.ts @@ -43,7 +43,8 @@ export async function buildClient (ctx: ViteBuildContext) { alias: { '#build/plugins': resolve(ctx.nuxt.options.buildDir, 'plugins/client'), '#internal/nitro': resolve(ctx.nuxt.options.buildDir, 'nitro.client.mjs') - } + }, + dedupe: ['vue'] }, build: { manifest: true,