scriptex opened this issue 3 years ago · 0 comments
The prefix option of the CleanupIDs plugin should look like this:
prefix
CleanupIDs
prefix: { toString() { this.counter = this.counter || 0; return `svgo-viewbox-id-${this.counter++}` } }