From 488ac2a9f914198af47af01de0fa98d8f2c4b451 Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Thu, 14 Apr 2022 01:49:11 -0600 Subject: [PATCH] feat: Enabling source maps full time --- superset-frontend/webpack.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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