scriptex/svgo-viewbox

Change "CleanupIDs" plugin config

scriptex opened this issue · 0 comments

The prefix option of the CleanupIDs plugin should look like this:

prefix: {
	toString() {
		this.counter = this.counter || 0;

		return `svgo-viewbox-id-${this.counter++}`
	}
}