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

Upgrade to svgo 3 #9045

Draft
wants to merge 1 commit into
base: v2
Choose a base branch
from
Draft

Upgrade to svgo 3 #9045

wants to merge 1 commit into from

Conversation

mischnic
Copy link
Member

Closes #8948

The breaking changes: https://github.com/svg/svgo/releases/tag/v3.0.0

  • The plugin cleanupIDs was renamed to cleanupIds
  • Some custom/third-party plugins might break as the API changed
  • You need to use overrides instead of extendDefaultPlugins to change preset default settings

I'm still not entirely sure if this is safe to do...

@harryzcy
Copy link
Contributor

harryzcy commented Mar 9, 2024

@mischnic Is there any updates on this?

@mischnic
Copy link
Member Author

The question if still if we want to instead create a new plugin for svgo 3: #8802 (comment)

@devongovett
Copy link
Member

made another attempt at this in #9969, where I tried to detect if the config used any deprecated options and install the right version into the project...

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.

Unmet peer dependency svgo 3 in optimizer-htmlnano
3 participants