diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index c2c818dbeadd0..d6b280c7537e0 100644 --- a/superset-frontend/webpack.config.js +++ b/superset-frontend/webpack.config.js @@ -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