diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index 6b1753009a0a9..3399be3d608a2 100644 --- a/superset-frontend/webpack.config.js +++ b/superset-frontend/webpack.config.js @@ -117,7 +117,7 @@ const plugins = [ 'process.env.WEBPACK_MODE': JSON.stringify(mode), 'process.env.REDUX_DEFAULT_MIDDLEWARE': process.env.REDUX_DEFAULT_MIDDLEWARE, - 'process.env.SCARF_ANALYTICS': process.env.SCARF_ANALYTICS, + 'process.env.SCARF_ANALYTICS': JSON.stringify(process.env.SCARF_ANALYTICS), }), new CopyPlugin({