Replace react with preact

reduce js file bundle to 20%
This commit is contained in:
2022-12-04 19:51:06 +08:00
parent c09e230972
commit ec0dad00ef
4 changed files with 44 additions and 71 deletions

View File

@@ -3,8 +3,8 @@
"version": "1.2.0",
"private": true,
"dependencies": {
"@preact/compat": "^17.1.2",
"esbuild": "^0.15.17",
"react": "^18.2.0",
"react-router-dom": "^6.4.4",
"water.css": "^2.1.1"
},