mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 21:47:55 +08:00
20 lines
583 B
Plaintext
20 lines
583 B
Plaintext
NODE_ENV = production
|
||
|
||
VITE_APP_MODE = example
|
||
|
||
# 页面标题
|
||
VITE_APP_TITLE = Fantastic-admin 基础版
|
||
# 接口请求地址,会设置到 axios 的 baseURL 参数上
|
||
VITE_APP_API_BASEURL = /
|
||
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
|
||
VITE_APP_DEBUG_TOOL =
|
||
|
||
# 是否在打包时启用 Mock
|
||
VITE_BUILD_MOCK = true
|
||
# 是否在打包时生成 sourcemap
|
||
VITE_BUILD_SOURCEMAP = false
|
||
# 是否在打包时删除 console 代码
|
||
VITE_BUILD_DROP_CONSOLE = true
|
||
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
||
VITE_BUILD_COMPRESS = gzip,brotli
|