2023-02-11 00:44:00 +08:00
|
|
|
# 开发环境
|
2023-06-19 12:42:43 +08:00
|
|
|
NODE_ENV=development
|
2023-02-11 00:44:00 +08:00
|
|
|
|
|
|
|
VITE_DEV=false
|
|
|
|
|
|
|
|
# 请求路径
|
|
|
|
VITE_BASE_URL='http://localhost:48080'
|
|
|
|
|
|
|
|
# 上传路径
|
|
|
|
VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload'
|
|
|
|
|
|
|
|
# 接口前缀
|
|
|
|
VITE_API_BASEPATH=/dev-api
|
|
|
|
|
|
|
|
# 接口地址
|
|
|
|
VITE_API_URL=/admin-api
|
|
|
|
|
|
|
|
# 打包路径
|
2023-04-07 01:44:40 +08:00
|
|
|
VITE_BASE_PATH=/
|
2023-02-11 00:44:00 +08:00
|
|
|
|
|
|
|
# 是否删除debugger
|
2023-05-31 15:58:35 +08:00
|
|
|
VITE_DROP_DEBUGGER=true
|
2023-02-11 00:44:00 +08:00
|
|
|
|
|
|
|
# 是否删除console.log
|
|
|
|
VITE_DROP_CONSOLE=false
|
|
|
|
|
|
|
|
# 是否sourcemap
|
2023-05-31 15:58:35 +08:00
|
|
|
VITE_SOURCEMAP=false
|
2023-02-11 00:44:00 +08:00
|
|
|
|
|
|
|
# 输出路径
|
2023-08-04 21:44:44 +08:00
|
|
|
VITE_OUT_DIR=dist
|