mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Fixed error in build script
This commit is contained in:
parent
80ae56023b
commit
cafd67b738
@ -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"
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user