Skip to content

Commit

Permalink
chore[build]: add hoistStatic: false (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 authored Nov 27, 2023
1 parent e5750bd commit 52a60f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vue/build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const buildBundle = () => {
vue({
isProduction: true,
sourceMap: false,
// https://github.com/vuejs/core/issues/5256#issuecomment-1173891407
template: { compilerOptions: { hoistStatic: false } },
}),
],
bundle: true,
Expand Down

0 comments on commit 52a60f7

Please sign in to comment.