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

Use svgo as peerDependency #47

Closed
strarsis opened this issue May 29, 2021 · 1 comment
Closed

Use svgo as peerDependency #47

strarsis opened this issue May 29, 2021 · 1 comment

Comments

@strarsis
Copy link
Contributor

strarsis commented May 29, 2021

IT would be much better if this imagemin plugin could use svgo as a peerDependency.
Currently it uses svgo as a dependency, which prevents overriding it with a package of different version.
This will also fix #41.

Until svgo is used as a peerDependency, some other mechanism has to be used to force a specific svgo version:
https://stackoverflow.com/questions/15806152/how-do-i-override-nested-npm-dependency-versions

@strarsis
Copy link
Contributor Author

This is caused by an issue with https://github.com/sindresorhus/gulp-imagemin.

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