You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2022/04/14 07:49:27 UTC

[superset] branch hooray-source-maps created (now 488ac2a9f9)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a change to branch hooray-source-maps
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 488ac2a9f9 feat: Enabling source maps full time

This branch includes the following new commits:

     new 488ac2a9f9 feat: Enabling source maps full time

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: feat: Enabling source maps full time

Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch hooray-source-maps
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 488ac2a9f914198af47af01de0fa98d8f2c4b451
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Thu Apr 14 01:49:11 2022 -0600

    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 c2c818dbea..d6b280c753 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