You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
481 B
32 lines
481 B
1 year ago
|
# 开发环境
|
||
|
NODE_ENV=development
|
||
|
|
||
|
VITE_DEV=false
|
||
|
|
||
|
# 请求路径
|
||
|
VITE_BASE_URL='http://localhost:12080'
|
||
|
|
||
|
# 上传路径
|
||
|
VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload'
|
||
|
|
||
|
# 接口前缀
|
||
|
VITE_API_BASEPATH=/dev-api
|
||
|
|
||
|
# 接口地址
|
||
|
VITE_API_URL=/admin-api
|
||
|
|
||
|
# 打包路径
|
||
|
VITE_BASE_PATH=/
|
||
|
|
||
|
# 是否删除debugger
|
||
|
VITE_DROP_DEBUGGER=true
|
||
|
|
||
|
# 是否删除console.log
|
||
|
VITE_DROP_CONSOLE=false
|
||
|
|
||
|
# 是否sourcemap
|
||
|
VITE_SOURCEMAP=false
|
||
|
|
||
|
# 输出路径
|
||
|
VITE_OUT_DIR=dist
|