We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80ae560 commit cafd67bCopy full SHA for cafd67b
tools/build/index.ts
@@ -92,9 +92,17 @@ function minsvg(data: string): string {
92
/* Optimize SVG */
93
const result = optimize(data, {
94
plugins: [
95
- "preset-default",
96
- { name: "removeDimensions", active: true },
97
- { name: "removeViewBox", active: false }
+ {
+ name: "preset-default",
+ params: {
98
+ overrides: {
99
+ removeViewBox: false
100
+ }
101
102
+ },
103
104
+ name: "removeDimensions"
105
106
]
107
})
108
0 commit comments