huangyinfeng
2024-09-12 67287bef3ec9abbaab297ad732ae56cbcfc0f2e7
提交 | 用户 | age
5e9946 1 # Whether to open mock
V 2 VITE_USE_MOCK = true
3
4 # public path
5 VITE_PUBLIC_PATH = /
6
7 # Whether to enable gzip or brotli compression
8 # Optional: gzip | brotli | none
9 # If you need multiple forms, you can use `,` to separate
10 VITE_BUILD_COMPRESS = 'none'
11
12
13 # Basic interface address SPA
9c027f 14 VITE_GLOB_API_URL = /basic-api
5e9946 15
V 16 # File upload address, optional
17 # It can be forwarded by nginx or write the actual address directly
9c027f 18 VITE_GLOB_UPLOAD_URL = /upload
5e9946 19
V 20 # Interface prefix
9c027f 21 VITE_GLOB_API_URL_PREFIX =
5e9946 22
V 23 VITE_ENABLE_ANALYZE = true