Skip to content

Commit 52a60f7

Browse files
authored
chore[build]: add hoistStatic: false (#65)
1 parent e5750bd commit 52a60f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/vue/build/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ const buildBundle = () => {
2121
vue({
2222
isProduction: true,
2323
sourceMap: false,
24+
// https://github.com/vuejs/core/issues/5256#issuecomment-1173891407
25+
template: { compilerOptions: { hoistStatic: false } },
2426
}),
2527
],
2628
bundle: true,

0 commit comments

Comments
 (0)