Skip to content

Commit

Permalink
Update to react-scripts@4.0.0
Browse files Browse the repository at this point in the history
React-scripts has been upgraded.
The tsconfig had to be edited in order to bypass an error.

Ref: facebook/create-react-app#9429 (comment)
  • Loading branch information
schettn committed Nov 10, 2020
1 parent aad8361 commit 4e08ade
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.3"
"react-scripts": "^4.0.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react"
"jsx": "react",
"noFallthroughCasesInSwitch": true
},
"include": [
"src"
Expand Down

0 comments on commit 4e08ade

Please sign in to comment.