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 */
|
/* Optimize SVG */
|
||||||
const result = optimize(data, {
|
const result = optimize(data, {
|
||||||
plugins: [
|
plugins: [
|
||||||
"preset-default",
|
{
|
||||||
{ name: "removeDimensions", active: true },
|
name: "preset-default",
|
||||||
{ name: "removeViewBox", active: false }
|
params: {
|
||||||
|
overrides: {
|
||||||
|
removeViewBox: false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "removeDimensions"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user