fixed: pnpm install 和 build 报错

This commit is contained in:
xxx 2024-02-20 14:51:33 +08:00
parent 490ea214b3
commit 39250531fb
2 changed files with 9 additions and 5 deletions

2
.gitignore vendored
View File

@ -33,3 +33,5 @@ yarn.lock
deploy-test.sh
deploy-prod.sh
deploy-demo.sh
pnpm-lock.yaml

View File

@ -1,6 +1,6 @@
{
"name": "frontend",
"private": true,
"name": "playedu-pc-interface",
"private": false,
"version": "0.0.0",
"type": "module",
"scripts": {
@ -9,10 +9,12 @@
"preview": "vite preview"
},
"dependencies": {
"@ant-design/icons": "^5.3.0",
"@reduxjs/toolkit": "^1.9.3",
"add": "^2.0.6",
"antd": "^5.3.2",
"axios": "^1.3.4",
"dayjs": "^1.11.10",
"localforage": "^1.10.0",
"match-sorter": "^6.3.1",
"moment": "^2.29.4",
@ -26,8 +28,8 @@
"sort-by": "^1.2.0"
},
"devDependencies": {
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-legacy": "^4.1.1",
"@vitejs/plugin-react-swc": "^3.0.0",
"rollup-plugin-gzip": "^3.1.0",