Skip to content

Commit

Permalink
Fixed error in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Aug 23, 2024
1 parent 80ae560 commit cafd67b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions tools/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,17 @@ function minsvg(data: string): string {
/* Optimize SVG */
const result = optimize(data, {
plugins: [
"preset-default",
{ name: "removeDimensions", active: true },
{ name: "removeViewBox", active: false }
{
name: "preset-default",
params: {
overrides: {
removeViewBox: false
}
}
},
{
name: "removeDimensions"
}
]
})

Expand Down

0 comments on commit cafd67b

Please sign in to comment.