mirror of
https://github.com/xiangshu233/vue3-vant4-mobile.git
synced 2025-04-05 06:22:45 +08:00
29 lines
562 B
Plaintext
29 lines
562 B
Plaintext
# 是否开启mock
|
||
VITE_USE_MOCK = true
|
||
|
||
# 网站根目录
|
||
VITE_PUBLIC_PATH = /
|
||
|
||
# 是否删除console
|
||
VITE_DROP_CONSOLE = true
|
||
|
||
# API
|
||
VITE_GLOB_API_URL =
|
||
|
||
# 图片上传地址
|
||
VITE_GLOB_UPLOAD_URL =
|
||
|
||
# 图片前缀地址
|
||
VITE_GLOB_IMG_URL =
|
||
|
||
# 接口 (api) 前缀
|
||
VITE_GLOB_API_URL_PREFIX = /api
|
||
|
||
# 是否启用gzip压缩或brotli压缩
|
||
# 可选: gzip | brotli | none
|
||
# 如果你需要多种形式,你可以用','来分隔
|
||
VITE_BUILD_COMPRESS = 'none'
|
||
|
||
# 使用压缩时是否删除原始文件,默认为false
|
||
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
|