.env.production 1.1 KB

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