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.test Normal file
View File

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