diff --git a/babel.config.js b/babel.config.js index 559439c684b7..6aa3eed9abcf 100644 --- a/babel.config.js +++ b/babel.config.js @@ -28,12 +28,12 @@ const defaultPlugins = [ ]; const svgo = { - plugins: extendDefaultPlugins([ - { - name: 'removeViewBox', - active: false, + name: 'preset-default', + params: { + overrides: { + removeViewBox: false, }, - ]), + }, }; function presets() {