vue-vben-admin/.env.production

36 lines
800 B
Plaintext
Raw Normal View History

2020-10-10 21:28:43 +08:00
# Whether to open mock
2021-01-24 21:38:55 +08:00
VITE_USE_MOCK = true
2020-10-10 21:28:43 +08:00
# public path
2021-01-11 00:16:44 +08:00
VITE_PUBLIC_PATH = /
2020-10-10 21:28:43 +08:00
2020-10-16 22:03:44 +08:00
# Delete console
VITE_DROP_CONSOLE = true
2021-02-22 00:01:03 +08:00
# Whether to enable gzip or brotli compression
# Optional: gzip | brotli | none
# If you need multiple forms, you can use `,` to separate
2021-02-17 22:07:22 +08:00
VITE_BUILD_COMPRESS = 'none'
2020-10-16 22:03:44 +08:00
# Whether to delete origin files when using compress, default false
2021-04-05 22:24:00 +08:00
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
2020-10-10 21:28:43 +08:00
# Basic interface address SPA
2021-03-11 01:29:42 +08:00
VITE_GLOB_API_URL=/basic-api
2020-10-10 21:28:43 +08:00
2020-12-08 22:18:20 +08:00
# File upload address optional
# It can be forwarded by nginx or write the actual address directly
VITE_GLOB_UPLOAD_URL=/upload
2020-10-10 21:28:43 +08:00
# Interface prefix
VITE_GLOB_API_URL_PREFIX=
2021-02-04 22:00:25 +08:00
# Whether to enable image compression
VITE_USE_IMAGEMIN= true
2020-10-27 21:27:47 +08:00
# use pwa
VITE_USE_PWA = false
2021-01-09 23:28:52 +08:00
# Is it compatible with older browsers
VITE_LEGACY = false