Skip to content

Commit ab77945

Browse files
committed
perf(bundle): treeshake options API
Signed-off-by: GitHub <[email protected]>
1 parent 60f24c4 commit ab77945

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/vite.config.ts

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ export default defineConfig(({ mode }): UserConfig => {
2525
appType: 'spa',
2626
base: './',
2727
cacheDir: '../node_modules/.cache/vite',
28+
define: {
29+
__VUE_OPTIONS_API__: 'false'
30+
},
2831
plugins: [
2932
Virtual(virtualModules),
3033
VueRouter({

0 commit comments

Comments
 (0)