Fixed conflicting svg ids

no issue

- enables `prefixIds` svgo option to guarantee all `id` attributes are unique across svgs
- disabled `cleanupIds` option so that it doesn't interfere with id uniqueness
- fixes instagram icon background not showing
This commit is contained in:
Kevin Ansfield 2019-08-28 11:33:32 +01:00
parent 9498681ce7
commit bb84f62838
1 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,8 @@ module.exports = function (defaults) {
],
optimizer: {
plugins: [
{prefixIds: true},
{cleanupIds: false},
{removeDimensions: true},
{removeTitle: true},
{removeXMLNS: true},