.env.production 514 B

123456789101112131415161718192021222324252627
  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 output gz file for packaging
  8. VITE_BUILD_GZIP = false
  9. # Basic interface address SPA
  10. VITE_GLOB_API_URL=/api
  11. # File upload address, optional
  12. # It can be forwarded by nginx or write the actual address directly
  13. VITE_GLOB_UPLOAD_URL=/upload
  14. # Interface prefix
  15. VITE_GLOB_API_URL_PREFIX=
  16. # use pwa
  17. VITE_USE_PWA = false
  18. # Is it compatible with older browsers
  19. VITE_LEGACY = false