Skip to content

Commit 2a2394f

Browse files
author
sunshine824
committed
打包优化
1 parent abc23cc commit 2a2394f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

vite.config.ts

-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ export default defineConfig({
3131
drop_debugger: true, //打包时删除 debugger
3232
pure_funcs: ['console.log'],
3333
},
34-
output: {
35-
// 去掉注释内容
36-
comments: true,
37-
},
3834
},
3935
rollupOptions: {
4036
output: {

0 commit comments

Comments
 (0)