fix: 优化打包/更改浏览器兼容策略

This commit is contained in:
landaiqing
2024-05-06 00:37:18 +08:00
parent 39e6d44636
commit 564ff40406
4 changed files with 65 additions and 10 deletions

View File

@@ -13,11 +13,13 @@
"@ant-design/icons": "^5.3.6",
"@ant-design/pro-components": "^2.7.0",
"@ant-design/use-emotion-css": "^1.0.4",
"@babel/preset-env": "^7.24.5",
"@types/crypto-js": "^4.2.2",
"@vitejs/plugin-legacy": "^5.3.2",
"antd": "^5.16.1",
"autoprefixer": "^10.4.19",
"axios": "^1.6.8",
"core-js": "3",
"crypto-js": "^4.2.0",
"gsap": "^3.12.5",
"jsencrypt": "^3.3.2",
@@ -29,11 +31,13 @@
"react-dom": "^18.2.0",
"react-rotate-captcha": "^1.0.26",
"react-router-dom": "^6.22.3",
"regenerator-runtime": "^0.14.1",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.2",
"vite-plugin-svg-icons": "^2.0.1"
},
"devDependencies": {
"@rollup/plugin-babel": "^6.0.4",
"@types/node": "^20.11.30",
"@types/react": "^18.2.69",
"@types/react-dom": "^18.2.22",