Skip to content

Commit d2127ac

Browse files
authored
Merge pull request #6 from suutari-ai/fix-css-sourcemaps
react-scripts webpack config: Fix CSS source maps
2 parents 92c5190 + 0dd2b86 commit d2127ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-scripts/config/webpack.config.prod.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ module.exports = {
224224
flexbox: 'no-2009',
225225
}),
226226
],
227+
sourceMap: shouldUseSourceMap,
227228
},
228229
},
229230
],
@@ -266,6 +267,7 @@ module.exports = {
266267
flexbox: 'no-2009',
267268
}),
268269
],
270+
sourceMap: shouldUseSourceMap,
269271
},
270272
},
271273
{

0 commit comments

Comments
 (0)