.env.production 924 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Whether to open mock
  2. VITE_USE_MOCK = true
  3. # public path
  4. VITE_PUBLIC_PATH = /
  5. # Cross-domain proxy, you can configure multiple
  6. # Please note that no line breaks
  7. VITE_PROXY=[["/api","http://localhost:9098"]]
  8. # Delete console
  9. VITE_DROP_CONSOLE = true
  10. # Whether to enable gzip or brotli compression
  11. # Optional: gzip | brotli | none
  12. # If you need multiple forms, you can use `,` to separate
  13. VITE_BUILD_COMPRESS = 'none'
  14. # Whether to delete origin files when using compress, default false
  15. VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
  16. # Basic interface address SPA
  17. VITE_GLOB_API_URL=/api
  18. # File upload address, optional
  19. # It can be forwarded by nginx or write the actual address directly
  20. VITE_GLOB_UPLOAD_URL=/upload
  21. # Interface prefix
  22. VITE_GLOB_API_URL_PREFIX=
  23. # Whether to enable image compression
  24. VITE_USE_IMAGEMIN= true
  25. # use pwa
  26. VITE_USE_PWA = false
  27. # Is it compatible with older browsers
  28. VITE_LEGACY = false