aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-10 18:35:14 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-10 18:35:53 +0800
commit394105b860bc84ca808454db5f5a800a7c60146a (patch)
treed1f462bc7e4068b65158f526020b5936a06621d8 /packages
parent1752aa63da427d4f3efbc2d2791e34b0f148e8d0 (diff)
downloaddexon-sol-tools-394105b860bc84ca808454db5f5a800a7c60146a.tar
dexon-sol-tools-394105b860bc84ca808454db5f5a800a7c60146a.tar.gz
dexon-sol-tools-394105b860bc84ca808454db5f5a800a7c60146a.tar.bz2
dexon-sol-tools-394105b860bc84ca808454db5f5a800a7c60146a.tar.lz
dexon-sol-tools-394105b860bc84ca808454db5f5a800a7c60146a.tar.xz
dexon-sol-tools-394105b860bc84ca808454db5f5a800a7c60146a.tar.zst
dexon-sol-tools-394105b860bc84ca808454db5f5a800a7c60146a.zip
Add options to svg loader
Diffstat (limited to 'packages')
-rw-r--r--packages/website/webpack.config.js13
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 }
+ ],
+ }
+ }
+ }
+ ]
},
],
},