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
1 changed files with 5 additions and 1 deletions

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 }
]
} }
} }
] ]