Commit ff739bdd authored by Philipp Nowinski's avatar Philipp Nowinski

[BUGFIX] never remove the viewBox attribute

parent 04c581c2
......@@ -161,7 +161,11 @@ module.exports = class Images extends Task {
imageminJpegtran(),
imageminPngquant({quality: '65-80'}),
imageminGifsicle(),
imageminSvgo()
imageminSvgo({
plugins: [
{removeViewBox: false}
]
})
]
});
} catch (error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment