Closed PringlePot closed 1 year ago
After some trying, it seems like using the
@astrojs/node
build output does not work with astro-icon. It causes the page to be stuck at loading when in a production build. It does work in normalyarn dev
mode tho. There are no errors in the console while building or running the code withyarn preview
which makes it hard to debug the issue and find the root of the problem
So do suggest using yarn over npm while using astro-icon ?
There is a known limitation with SSR currently when using this plugin. See #35. Please feel free to provide more information if you're running into a different issue than the existing SSR limitations.
The issue is, I'm using nodejs to host the server, so svgo should work right?
After some trying, it seems like using the
@astrojs/node
build output does not work with astro-icon. It causes the page to be stuck at loading when in a production build. It does work in normalyarn dev
mode tho. There are no errors in the console while building or running the code withyarn preview
which makes it hard to debug the issue and find the root of the problem