Skip to content

Commit

Permalink
chore(webpack): prevent source map generation
Browse files Browse the repository at this point in the history
This is a known issue in the Interceptor project of MSW. See workaround here: mswjs/msw#1030 (comment)
  • Loading branch information
sclarkson-zoomcare committed Feb 3, 2022
1 parent d6eabd0 commit 932ba18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"start": "cross-env GENERATE_SOURCEMAP=false react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand All @@ -42,6 +42,7 @@
]
},
"devDependencies": {
"cross-env": "^7.0.3",
"msw": "^0.36.8"
},
"msw": {
Expand Down

0 comments on commit 932ba18

Please sign in to comment.