.env.production 678 字节
Newer Older
B
bin 已提交
1
# Whether to open mock
V
vben 已提交
2
VITE_USE_MOCK = true
B
bin 已提交
3 4

# public path
V
vben 已提交
5
VITE_PUBLIC_PATH = /
B
bin 已提交
6

V
vben 已提交
7 8 9
# Delete console
VITE_DROP_CONSOLE = true

10 11 12 13
# Whether to enable gizp or brotli compression
# Optional: gzip | brotli | none
# If you need multiple forms, you can use `,` to separate
VITE_BUILD_COMPRESS = 'gzip'
V
vben 已提交
14

B
bin 已提交
15 16 17
# Basic interface address SPA
VITE_GLOB_API_URL=/api

V
vben 已提交
18 19 20 21
# File upload address, optional
# It can be forwarded by nginx or write the actual address directly
VITE_GLOB_UPLOAD_URL=/upload

B
bin 已提交
22 23
# Interface prefix
VITE_GLOB_API_URL_PREFIX=
24

V
vben 已提交
25 26 27
# Whether to enable image compression
VITE_USE_IMAGEMIN= true

V
vben 已提交
28 29 30
# use pwa
VITE_USE_PWA = false

V
vben 已提交
31 32
# Is it compatible with older browsers
VITE_LEGACY = false