diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index a1516f25b076e..f0bab49244a18 100644 --- a/superset-frontend/webpack.config.js +++ b/superset-frontend/webpack.config.js @@ -419,13 +419,11 @@ const config = { { loader: '@svgr/webpack', options: { - icon: true, - svgo: false, - svgoConfig: { - plugins: [{ removeViewBox: false }], - }, titleProp: true, ref: true, + // this is the default value for the icon. Using other values + // here will replace width and height in svg with 1em + icon: false, }, }, ],