From 4d748ec85c8835b33d280c954a7fc9e84584faa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rune=20Moskvil=20Lyng=C3=A5s?= Date: Thu, 17 Feb 2022 11:24:25 +0100 Subject: [PATCH] Use new config syntax for svgr --- scripts/build/rollup.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build/rollup.config.js b/scripts/build/rollup.config.js index 4d811bbf..4b8174e1 100644 --- a/scripts/build/rollup.config.js +++ b/scripts/build/rollup.config.js @@ -35,10 +35,11 @@ export default { plugins: [ url(), svgr({ - svgo: { + svgoConfig: { plugins: [ { - removeViewBox: false + name: 'removeViewBox', + active: false } ] }