Skip to content

Conversation

@piotrd
Copy link

@piotrd piotrd commented Apr 3, 2025

The current version of SVGO config causes an error during the build:

You are trying to configure cleanupIDs which is not part of preset-default.
Try to put it before or after, for example

plugins: [
  {
    name: 'preset-default',
  },
  'cleanupIDs'
]

This is due to the fact that cleanupIDs is misspelled. It should be cleanupIds, as per the SVGO docs.

This PR fixes the issue.

@piotrd
Copy link
Author

piotrd commented Apr 3, 2025

@vnbaaij since you touched the config file last, I'd love your review when possible.

Copy link
Contributor

@vnbaaij vnbaaij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems a valid change. But I don't have write access here...

@piotrd
Copy link
Author

piotrd commented Apr 3, 2025

Thank you. Anyone else can help? @spencer-nelson, @rachethecreator perhaps?

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