diff --git a/packages/fes-plugin-icon/src/optimizeSvg.js b/packages/fes-plugin-icon/src/optimizeSvg.js index 545a6885..289b6cd7 100644 --- a/packages/fes-plugin-icon/src/optimizeSvg.js +++ b/packages/fes-plugin-icon/src/optimizeSvg.js @@ -4,7 +4,12 @@ import { optimize } from 'svgo'; const presetDefault = [ { - name: 'preset-default' + name: 'preset-default', + params: { + overrides: { + removeViewBox: false + } + } }, 'cleanupListOfValues', {