Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(vite): dedupe vue in client bundle #6735

Merged
merged 3 commits into from
Aug 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/vite/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down