vue-svg-loader
vue-svg-loader copied to clipboard
svgo options not working in webpack config
I'm using vue-svg-loader 0.16.
If I do this:
options: {
svgo: {
plugins: [{ removeDimensions: true }]
},
It does what is expected.
If I do this it does not:
options: {
svgo: {
plugins: [
{
name: 'removeDimensions',
active: true
}]
It doesn't fail and doesn't give any feedback, it just doesn't work.
I wonder if it's because 0.16 depends on svg-to-vue which depends on an older version of svgo (1.3.2 - 2.2.2 is available)?