mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 11:11:55 +08:00
32 lines
475 B
INI
32 lines
475 B
INI
# 生产环境
|
|
NODE_ENV=production
|
|
|
|
VITE_DEV=false
|
|
|
|
# 请求路径
|
|
VITE_BASE_URL='http://localhost:58080'
|
|
|
|
# 上传路径
|
|
VITE_UPLOAD_URL='http://localhost:58080/admin-api/infra/file/upload'
|
|
|
|
# 接口前缀
|
|
VITE_API_BASEPATH=
|
|
|
|
# 接口地址
|
|
VITE_API_URL=/admin-api
|
|
|
|
# 是否删除debugger
|
|
VITE_DROP_DEBUGGER=true
|
|
|
|
# 是否删除console.log
|
|
VITE_DROP_CONSOLE=true
|
|
|
|
# 是否sourcemap
|
|
VITE_SOURCEMAP=false
|
|
|
|
# 打包路径
|
|
VITE_BASE_PATH=/
|
|
|
|
# 输出路径
|
|
VITE_OUT_DIR=dist-pro
|