feat: Enabling source maps full time (#19710)
This commit is contained in:
parent
7bc9123fe5
commit
34008f78c9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue