.env.production 821 B

123456789101112131415161718192021222324252627282930313233343536
  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. # Whether to delete origin files when using compress, default false
  12. VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
  13. # Basic interface address SPA
  14. # VITE_GLOB_API_URL=/basic-api
  15. VITE_GLOB_API_URL=
  16. # File upload address, optional
  17. # It can be forwarded by nginx or write the actual address directly
  18. VITE_GLOB_UPLOAD_URL=/upload
  19. # Interface prefix
  20. VITE_GLOB_API_URL_PREFIX=
  21. # Whether to enable image compression
  22. VITE_USE_IMAGEMIN= true
  23. # use pwa
  24. VITE_USE_PWA = false
  25. # Is it compatible with older browsers
  26. VITE_LEGACY = false