Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svgo options not working in webpack config #153

Open
asmaloney opened this issue Mar 11, 2021 · 0 comments
Open

svgo options not working in webpack config #153

asmaloney opened this issue Mar 11, 2021 · 0 comments

Comments

@asmaloney
Copy link

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 asmaloney changed the title svgo options not working in webpackconfig svgo options not working in webpack config Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant