set removeViewBox: false on svgo

This commit is contained in:
Danny Coates 2018-02-26 20:28:51 -08:00
parent 8d658dc159
commit a2aca89550
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB

View file

@ -107,7 +107,11 @@ module.exports = {
{ {
loader: 'svgo-loader', loader: 'svgo-loader',
options: { options: {
plugins: [{ convertStyleToAttrs: true }, { removeTitle: true }] plugins: [
{ removeViewBox: false },
{ convertStyleToAttrs: true },
{ removeTitle: true }
]
} }
} }
] ]