build(demo-vue): adjust production build config and add terser
1. 新增terser依赖包用于代码压缩 2. 关闭terser压缩并注释rollup打包配置 3. 修改生产环境的NODE_ENV和API接口地址
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
NODE_ENV=production
|
||||
NODE_ENV=development
|
||||
VITE_APP_TITLE='普达特科技有限公司'
|
||||
VITE_APP_API_URL='http://www.wzy.com/api/'
|
||||
VITE_APP_API_URL='/api'
|
||||
Reference in New Issue
Block a user