This commit is contained in:
2021-12-07 23:36:48 +08:00
parent 6de5a8b6bd
commit 265e3b01e4
3 changed files with 4479 additions and 6188 deletions
+4476 -6171
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -6,9 +6,9 @@
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-scripts": "3.2.0",
"web-vitals": "^1.1.2"
},
"scripts": {
-14
View File
@@ -1,14 +0,0 @@
1、npm run eject 暴露webpack
2、开发环境调试
source-map
=>
eval-source-map
3、生产环境调试
const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== 'false';
=》
const shouldUseSourceMap = true;
source-map
=>
eval-source-map