Henry Rao
2021-12-18 aab6b4f393abaf0253f0ed1c52084fd2f03e86e3
提交 | 用户 | age
17e47e 1 NODE_ENV=production
V 2 # Whether to open mock
3 VITE_USE_MOCK = true
4
5 # public path
6 VITE_PUBLIC_PATH = /
7
8 # Delete console
9 VITE_DROP_CONSOLE = true
10
11 # Whether to enable gzip or brotli compression
12 # Optional: gzip | brotli | none
13 # If you need multiple forms, you can use `,` to separate
14 VITE_BUILD_COMPRESS = 'none'
15
16 # Whether to delete origin files when using compress, default false
17 VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
18
19 # Basic interface address SPA
20 VITE_GLOB_API_URL=/basic-api
21
22 # File upload address, optional
23 # It can be forwarded by nginx or write the actual address directly
24 VITE_GLOB_UPLOAD_URL=/upload
25
26 # Interface prefix
27 VITE_GLOB_API_URL_PREFIX=
28
29 # Whether to enable image compression
30 VITE_USE_IMAGEMIN= true
31
32 # use pwa
33 VITE_USE_PWA = false
34
35 # Is it compatible with older browsers
36 VITE_LEGACY = false