You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# 是否启用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=http://60.209.125.238:9993/api
|
|
|
|
|
|
|
|
|
|
#后台接口全路径地址(必填)
|
|
|
|
|
VITE_GLOB_DOMAIN_URL=http://60.209.125.238:9993/api
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# File upload address, optional
|
|
|
|
|
VITE_GLOB_UPLOAD_URL=http://60.209.125.238:9991/api/VW_INFO_FILES/UploadDJZ
|
|
|
|
|
|
|
|
|
|
# 预览地址
|
|
|
|
|
VITE_GLOB_VIEW_URL=http://60.209.125.238:9991/
|
|
|
|
|
|
|
|
|
|
# 接口父路径前缀
|
|
|
|
|
VITE_GLOB_API_URL_PREFIX=
|
|
|
|
|
|
|
|
|
|
# 是否启用图像压缩
|
|
|
|
|
VITE_USE_IMAGEMIN= true
|
|
|
|
|
|
|
|
|
|
# 使用pwa
|
|
|
|
|
VITE_USE_PWA = false
|
|
|
|
|
|
|
|
|
|
# 是否兼容旧浏览器
|
|
|
|
|
VITE_LEGACY = false
|