Skip to content

Commit

Permalink
feat: Enabling source maps full time
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas committed Apr 14, 2022
1 parent 32a9265 commit 488ac2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions superset-frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ const config = {
{
loader: 'css-loader',
options: {
sourceMap: isDevMode,
sourceMap: true,
},
},
],
Expand All @@ -376,13 +376,13 @@ const config = {
{
loader: 'css-loader',
options: {
sourceMap: isDevMode,
sourceMap: true,
},
},
{
loader: 'less-loader',
options: {
sourceMap: isDevMode,
sourceMap: true,
javascriptEnabled: true,
},
},
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 488ac2a

Please sign in to comment.