build(demo-vue): adjust production build config and add terser
1. 新增terser依赖包用于代码压缩 2. 关闭terser压缩并注释rollup打包配置 3. 修改生产环境的NODE_ENV和API接口地址
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
"element-plus": "^2.13.7",
|
||||
"less": "^4.5.1",
|
||||
"pinia": "^3.0.4",
|
||||
"terser": "^5.48.0",
|
||||
"vue": "^3.5.29",
|
||||
"vue-i18n": "^9.14.4",
|
||||
"vue-router": "^5.0.3"
|
||||
|
||||
Reference in New Issue
Block a user