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

Commit

Permalink
fix(vite): dedupe vue in client bundle (#6735)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Aug 18, 2022
1 parent 43e6c02 commit faf00f5
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit faf00f5

Please sign in to comment.