diff options
Diffstat (limited to 'packages/website/webpack.config.js')
-rw-r--r-- | packages/website/webpack.config.js | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/packages/website/webpack.config.js b/packages/website/webpack.config.js index 367aba48f..dfd4f1d08 100644 --- a/packages/website/webpack.config.js +++ b/packages/website/webpack.config.js @@ -57,7 +57,18 @@ const config = { }, { test: /\.svg$/, - loaders: ['react-svg-loader'], + use: [ + { + loader: "react-svg-loader", + options: { + svgo: { + plugins: [ + { removeViewBox: false } + ], + } + } + } + ] }, ], }, |