gf-vben-admin/.env.production

33 lines
678 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
# 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'
2020-10-16 22:03:44 +08:00
2020-10-10 21:28:43 +08:00
# Basic interface address SPA
VITE_GLOB_API_URL=/api
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