vue-svg-loader icon indicating copy to clipboard operation
vue-svg-loader copied to clipboard

svgo options not working in webpack config

Open asmaloney opened this issue 4 years ago • 0 comments

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)?

asmaloney avatar Mar 11 '21 22:03 asmaloney