Skip to content

Commit 2525da1

Browse files
committed
Disable source-map generation for mswjs
- Fixes warnings: [Failed to parse source map from](mswjs/msw#1070) - mswjs/msw#1030
1 parent 48e134a commit 2525da1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.0.0",
44
"private": true,
55
"scripts": {
6-
"start": "cross-env REACT_APP_MOCK=true react-scripts start",
7-
"build": "react-scripts build",
6+
"start": "cross-env REACT_APP_MOCK=true GENERATE_SOURCEMAP=false react-scripts start",
7+
"build": "cross-env GENERATE_SOURCEMAP=false react-scripts build",
88
"test": "react-scripts test",
99
"test:coverage": "react-scripts test --coverage",
1010
"eject": "react-scripts eject",

0 commit comments

Comments
 (0)