Closed JayBox325 closed 1 year ago
I have this same problem while I am inside a vercel turborepo... I can create a standalone project and it works just fine but when I add that project to a vercel turborepo I get those errors. So maybe it is not specifically an astro-icon problem. I am still digging into the issue.
I have tried this today with a local SVG and it's the same Unknown builtin plugin "cleanupIDs" specified.
error.
same error on cloudflare
I have found a workaround for now, that involves adding "svgo": "2.8.0"
to your devDependencies.
Thanks @JayBox325 adding "svgo": "2.8.0" to devDependencies works.
This looks like it is due to svgo
version conflict. This should be addressed as part of the v1 rework.
Svgo 3.0.+ need to be downgrade to 2.8.0 and set in devDependencies in package.json :
This a duplicate of #76
Please see this error. It happens for all icons, but the build process works perfectly on my local environment: