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

Refactor/update to v2 of svgo #7

Merged
merged 2 commits into from
Mar 29, 2022

Conversation

ZuperZee
Copy link
Contributor

Because of some breaking changes to svgo and changes to how the config is written in v2.

The optimize is changed to be synchronous.
The default options is removed.
Options is set directly in the optimize function.
Added an option to change the optimize function.

https://github.com/svg/svgo/releases/tag/v2.0.0

Because of some breaking changes to svgo
and changes to how the config is written in v2.
The optimize is changed to be synchronous.
The default options is removed.
Options is set directly in the optimize function.
https://github.com/svg/svgo/releases/tag/v2.0.0
Makes it so it a custom optimize function can be use
 instead of the "default" one.
 Like a different version of svgo optimize.
@porsager porsager merged commit d920961 into porsager:master Mar 29, 2022
@porsager
Copy link
Owner

Thanks a lot! Sorry for the late reply, I completely missed this :-(

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

Successfully merging this pull request may close these issues.

2 participants