.env.test 820 B

123456789101112131415161718192021222324252627282930313233343536
  1. NODE_ENV=production
  2. # Whether to open mock
  3. VITE_USE_MOCK = true
  4. # public path
  5. VITE_PUBLIC_PATH = /
  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=/basic-api
  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