.env.production 684 B

1234567891011121314151617181920212223242526272829303132
  1. # Whether to open mock
  2. VITE_USE_MOCK = true
  3. # public path
  4. VITE_PUBLIC_PATH = /
  5. # Delete console
  6. VITE_DROP_CONSOLE = true
  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. # Basic interface address SPA
  12. VITE_GLOB_API_URL=/basic-api
  13. # File upload address, optional
  14. # It can be forwarded by nginx or write the actual address directly
  15. VITE_GLOB_UPLOAD_URL=/upload
  16. # Interface prefix
  17. VITE_GLOB_API_URL_PREFIX=
  18. # Whether to enable image compression
  19. VITE_USE_IMAGEMIN= true
  20. # use pwa
  21. VITE_USE_PWA = false
  22. # Is it compatible with older browsers
  23. VITE_LEGACY = false