12345678910111213141516171819202122232425262728293031323334 |
- # Whether to open mock
- VITE_USE_MOCK = true
- # public path
- VITE_PUBLIC_PATH = /
- # Delete console
- VITE_DROP_CONSOLE = true
- # Whether to enable gizp 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
- # VITE_GLOB_API_URL=http://139.186.154.72:80/admin
- VITE_GLOB_API_URL=http://localhost:8888/admin
- # File upload address, optional
- # It can be forwarded by nginx or write the actual address directly
- # VITE_GLOB_UPLOAD_URL=http://139.186.154.72:80/admin/upload
- VITE_GLOB_UPLOAD_URL=http://localhost:8888/admin/upload
- # Interface prefix
- VITE_GLOB_API_URL_PREFIX=
- # Whether to enable image compression
- VITE_USE_IMAGEMIN= true
- # use pwa
- VITE_USE_PWA = false
- # Is it compatible with older browsers
- VITE_LEGACY = false
|