.env.production 849 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Whether to open mock
  2. VITE_USE_MOCK = true
  3. # public path
  4. VITE_PUBLIC_PATH = /qasimadmin/
  5. VITE_GLOB_APP_TITLE = 'qasim'
  6. # Delete console
  7. VITE_DROP_CONSOLE = true
  8. # Whether to enable gzip or brotli compression
  9. # Optional: gzip | brotli | none
  10. # If you need multiple forms, you can use `,` to separate
  11. VITE_BUILD_COMPRESS = 'none'
  12. # Whether to delete origin files when using compress, default false
  13. VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
  14. # Basic interface address SPA
  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=/admin/upload/file
  19. # Interface prefix
  20. VITE_GLOB_API_URL_PREFIX=/admin
  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