2024-04-22 09:00:49 +08:00
|
|
|
|
NODE_ENV = production
|
2021-07-07 23:47:47 +08:00
|
|
|
|
# Whether to open mock
|
|
|
|
|
VITE_USE_MOCK = true
|
|
|
|
|
|
|
|
|
|
# public path
|
|
|
|
|
VITE_PUBLIC_PATH = /
|
|
|
|
|
|
|
|
|
|
# Whether to enable gzip or brotli compression
|
|
|
|
|
# Optional: gzip | brotli | none
|
|
|
|
|
# If you need multiple forms, you can use `,` to separate
|
|
|
|
|
VITE_BUILD_COMPRESS = 'none'
|
|
|
|
|
|
|
|
|
|
# Basic interface address SPA
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_API_URL = /basic-api
|
2021-07-07 23:47:47 +08:00
|
|
|
|
|
|
|
|
|
# File upload address, optional
|
|
|
|
|
# It can be forwarded by nginx or write the actual address directly
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_UPLOAD_URL = /upload
|
2021-07-07 23:47:47 +08:00
|
|
|
|
|
|
|
|
|
# Interface prefix
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_API_URL_PREFIX =
|