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.
35 lines
713 B
35 lines
713 B
2 years ago
|
# 是否启用mock
|
||
|
VITE_USE_MOCK = true
|
||
|
|
||
|
# 发布路径
|
||
|
VITE_PUBLIC_PATH = /
|
||
|
|
||
|
# 控制台不输出
|
||
|
VITE_DROP_CONSOLE = true
|
||
|
|
||
|
# 是否启用gzip或brotli压缩
|
||
|
# 选项值: gzip | brotli | none
|
||
|
# 如果需要多个可以使用“,”分隔
|
||
|
VITE_BUILD_COMPRESS = 'gzip'
|
||
|
|
||
|
# 使用压缩时是否删除原始文件,默认为false
|
||
|
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
|
||
|
|
||
|
#后台接口父地址(必填)
|
||
|
VITE_GLOB_API_URL=/jeecgboot
|
||
|
|
||
|
#后台接口全路径地址(必填)
|
||
|
VITE_GLOB_DOMAIN_URL=http://localhost:8080/jeecg-boot
|
||
|
|
||
|
# 接口父路径前缀
|
||
|
VITE_GLOB_API_URL_PREFIX=
|
||
|
|
||
|
# 是否启用图像压缩
|
||
|
VITE_USE_IMAGEMIN= true
|
||
|
|
||
|
# 使用pwa
|
||
|
VITE_USE_PWA = false
|
||
|
|
||
|
# 是否兼容旧浏览器
|
||
|
VITE_LEGACY = false
|