John Niang
2021-02-07 c81d48e734b09217fa42df2358e616a970006eab
提交 | 用户 | age
e8aede 1 # Whether to open mock
2eb2d2 2 VITE_USE_MOCK = true
e8aede 3
B 4 # public path
3509eb 5 VITE_PUBLIC_PATH = /
e8aede 6
8a1bfd 7 # Delete console
V 8 VITE_DROP_CONSOLE = true
9
710158 10 # Whether to output gz file for packaging
3509eb 11 VITE_BUILD_GZIP = false
8a1bfd 12
e8aede 13 # Basic interface address SPA
B 14 VITE_GLOB_API_URL=/api
15
29461a 16 # File upload address, optional
V 17 # It can be forwarded by nginx or write the actual address directly
18 VITE_GLOB_UPLOAD_URL=/upload
19
e8aede 20 # Interface prefix
B 21 VITE_GLOB_API_URL_PREFIX=
bb3b8f 22
de332a 23 # Whether to enable image compression
V 24 VITE_USE_IMAGEMIN= true
25
a1b990 26 # use pwa
V 27 VITE_USE_PWA = false
28
99ac30 29 # Is it compatible with older browsers
V 30 VITE_LEGACY = false