.env.production 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # 是否启用mock
  2. VITE_USE_MOCK = true
  3. # 发布路径
  4. VITE_PUBLIC_PATH = /
  5. # 控制台不输出
  6. VITE_DROP_CONSOLE = false
  7. # 是否启用gzip或brotli压缩
  8. # 选项值: gzip | brotli | none
  9. # 如果需要多个可以使用“,”分隔
  10. VITE_BUILD_COMPRESS = 'gzip'
  11. # 使用压缩时是否删除原始文件,默认为false
  12. VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
  13. #VITE_PROXY = [["/jeecgsystem","http://10.248.223.116:9999"],["/upload","http://localhost:3300/upload"]]
  14. #VITE_PROXY = [["/jeecgsystem","http://10.248.210.152:9999"],["/upload","http://10.248.210.152:9999/upload"]]
  15. #VITE_PROXY = [["/jeecgsystem","http://182.92.126.35:9999"],["/upload","http://182.92.126.35:9999/upload"]]
  16. VITE_PROXY = [["/jeecgsystem","http://172.16.41.171:9999"],["/upload","http://172.16.41.171:9999/upload"]]
  17. #VITE_PROXY = [["/jeecgsystem","http://172.16.41.171:9999"],["/upload","http://172.16.41.171:9999/upload"]]
  18. #VITE_PROXY = [["/jeecgsystem","http://10.120.120.163:9999"],["/upload","http://10.120.120.163:9999/upload"]]
  19. #VITE_PROXY = [["/jeecgsystem","http://192.168.1.4:9999"],["/upload","http://localhost:3300/upload"]]
  20. #VITE_PROXY = [["/jeecgsystem","http://192.168.0.79:9999"],["/upload","http://localhost:3300/upload"]]
  21. #VITE_PROXY = [["/jeecgsystem","http://42.194.132.36:8099"],["/upload","http://localhost:3300/upload"]]
  22. #VITE_PROXY = [["/jeecgsystem","http://192.168.0.30:8086"],["/upload","http://localhost:3300/upload"]]
  23. #VITE_PROXY = [["/jeecgsystem","http://127.0.0.1:9999"],["/upload","http://localhost:3300/upload"]]
  24. #后台接口父地址(必填)
  25. VITE_GLOB_API_URL=/jeecgsystem
  26. #后台接口全路径地址(必填)
  27. #VITE_GLOB_DOMAIN_URL=http://jeecg-boot-system:8080/jeecg-boot
  28. #VITE_GLOB_DOMAIN_URL=http://182.92.126.35:9999
  29. #VITE_GLOB_DOMAIN_URL=http://10.248.210.152:9999 #宝德
  30. VITE_GLOB_DOMAIN_URL = http://172.16.41.171:9999
  31. #VITE_GLOB_DOMAIN_URL = http://10.120.120.163:9999
  32. #VITE_GLOB_DOMAIN_URL=http://10.248.223.50:9999
  33. #VITE_GLOB_DOMAIN_URL=http://192.168.1.4:9999
  34. #VITE_GLOB_DOMAIN_URL=http://192.168.0.79:9999
  35. #VITE_GLOB_DOMAIN_URL=http://127.0.0.1:9999
  36. #VITE_GLOB_DOMAIN_URL=http://42.194.132.36:8099
  37. #采育服务器
  38. #VITE_GLOB_DOMAIN_URL=http://192.168.0.79:9999
  39. #VITE_GLOB_DOMAIN_URL=http://192.168.0.30:8086
  40. # 接口父路径前缀
  41. VITE_GLOB_API_URL_PREFIX=
  42. # 是否启用图像压缩
  43. VITE_USE_IMAGEMIN= true
  44. # 使用pwa
  45. VITE_USE_PWA = false
  46. # 是否兼容旧浏览器
  47. VITE_LEGACY = false
  48. #微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径
  49. #VITE_APP_SUB_APP = [["micro-need-air", "//10.248.223.116:7777/"], ["micro-vent-3dModal", "//10.248.223.116:7121/"]]
  50. #VITE_APP_SUB_APP = [["micro-need-air", "//10.248.210.152:8093/"], ["micro-vent-3dModal", "//10.248.210.152:8091/"]] #宝德
  51. #VITE_APP_SUB_APP = [["micro-need-air", "//10.120.120.163:8093/"], ["micro-vent-3dModal", "//10.120.120.163:8091/"]] #查哈素
  52. #VITE_APP_SUB_APP = [["micro-need-air", "//182.92.126.35:8093/"], ["micro-vent-3dModal", "//182.92.126.35:8091/"]]
  53. VITE_APP_SUB_APP = [["micro-need-air", ":8093/"], ["micro-vent-3dModal", ":8091/"]]
  54. #VITE_APP_SUB_APP = [["micro-need-air", "//172.16.41.171:7123/"], ["micro-vent-3dModal", "//172.16.41.171:7121/"]]
  55. #VITE_APP_SUB_APP = [["micro-vent-3dModal", "//192.168.0.79:7121/"]]
  56. #VITE_APP_SUB_APP = [["micro-need-air", "//127.0.0.1:20000/"], ["micro-vent-3dModal", "//127.0.0.1:30000/"], ["micro-fire-front", "//127.0.0.1:40000/"]]
  57. #VITE_APP_SUB_APP = [["micro-need-air", "//127.0.0.1:7123/"], ["micro-vent-3dModal", "//127.0.0.1:7121/"]]