feat: Enabling source maps full time (#19710)

This commit is contained in:
Evan Rusackas 2022-04-14 10:08:11 -06:00 committed by GitHub
parent 7bc9123fe5
commit 34008f78c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -363,7 +363,7 @@ const config = {
{
loader: 'css-loader',
options: {
sourceMap: isDevMode,
sourceMap: true,
},
},
],
@ -376,13 +376,13 @@ const config = {
{
loader: 'css-loader',
options: {
sourceMap: isDevMode,
sourceMap: true,
},
},
{
loader: 'less-loader',
options: {
sourceMap: isDevMode,
sourceMap: true,
javascriptEnabled: true,
},
},
@ -450,7 +450,7 @@ const config = {
'react/lib/ReactContext': true,
},
plugins,
devtool: false,
devtool: 'source-map',
};
// find all the symlinked plugins and use their source code for imports