[Modified] svg loader Error: Plugin name should be specified

Wrong writing

plugins: [
    {removeAttrs: {attrs: "path:fill"}}
]

Correct writing

plugins: [
    {
        name: 'removeAttrs',
        params: {
            attrs: 'fill'
            }
        }
]

Demo: https://github.com/svg/svgo/blob/master/plugins/removeAttrs.js

Read More: