提交 | 用户 | 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 |
|
be3a3e
|
10 |
# Whether to enable gzip or brotli compression |
993538
|
11 |
# Optional: gzip | brotli | none |
V |
12 |
# If you need multiple forms, you can use `,` to separate |
4d7001
|
13 |
VITE_BUILD_COMPRESS = 'none' |
8a1bfd
|
14 |
|
f7499c
|
15 |
# Whether to delete origin files when using compress, default false |
8b5cbc
|
16 |
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false |
f7499c
|
17 |
|
e8aede
|
18 |
# Basic interface address SPA |
257aaa
|
19 |
VITE_GLOB_API_URL=/basic-api |
e8aede
|
20 |
|
29461a
|
21 |
# File upload address, optional |
V |
22 |
# It can be forwarded by nginx or write the actual address directly |
|
23 |
VITE_GLOB_UPLOAD_URL=/upload |
|
24 |
|
e8aede
|
25 |
# Interface prefix |
B |
26 |
VITE_GLOB_API_URL_PREFIX= |
bb3b8f
|
27 |
|
de332a
|
28 |
# Whether to enable image compression |
V |
29 |
VITE_USE_IMAGEMIN= true |
|
30 |
|
a1b990
|
31 |
# use pwa |
V |
32 |
VITE_USE_PWA = false |
|
33 |
|
99ac30
|
34 |
# Is it compatible with older browsers |
V |
35 |
VITE_LEGACY = false |