2023-04-05 00:20:48 +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
|
2023-04-05 00:20:48 +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
|
2023-04-05 00:20:48 +08:00
|
|
|
|
|
|
|
|
|
# Interface prefix
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_API_URL_PREFIX =
|
2023-04-05 00:20:48 +08:00
|
|
|
|
|
|
|
|
|
VITE_ENABLE_ANALYZE = true
|