build: 集成基础配置

This commit is contained in:
陈凯龙
2021-12-07 16:36:16 +08:00
parent 1ae75500de
commit 5dbcf2397c
26 changed files with 7873 additions and 14 deletions

20
.env.pro Normal file
View File

@@ -0,0 +1,20 @@
# 环境
NODE_ENV = production
# 接口前缀
VITE_API_BASEPATH = pro
# 打包路径
VITE_BASE_PATH = /dist-pro/
# 是否删除debugger
VITE_DROP_DEBUGGER = true
# 是否删除console.log
VITE_DROP_CONSOLE = true
# 是否sourcemap
VITE_SOURCEMAP = false
# 输出路径
VITE_OUT_DIR = dist-pro