Closed paulrudy closed 1 year ago
Updated the title of the issue: This issue only relates to local icons, and it seems to have to do with Astro assets (so perhaps this commit from v 2.4.5. When I disabled the experimental assets feature, this issue was resolved. It would be nice to be able to continue to use Astro assets, however.
I'll try to take a look tonight because I was just using it. I might be on 2.4.4 though
Can confirm after upgrading to 2.4.5, it is broken. Looking into a fix
Appears to be an upstream issue. Filed a upstream bug: https://github.com/withastro/astro/issues/7082
Appears to be an upstream issue. Filed a upstream bug: https://github.com/withastro/astro/issues/7082
Sweet, thank you for looking into it!
Are you using "experimental: { assets: true }" in the astro.config.mjs file? If so...remove it.
This issue is meant to report specifically that there is a conflict between the experimental assets and astro-icon since Astro v2.4.5. Removing the use of the experimental assets would certainly be a way not to encounter this issue. So would uninstalling astro-icon.
I'm interested in them both playing nicely together again.
Fixed with Astro v2.5.0!
I'm using Astro in SSR mode with the Vercel adapter. After upgrading from Astro v2.4.4 to v2.4.5, I get the following error:
Adding
"svgo": "2.8.0"
to devDependencies as suggested here didn't help.Both of the commits in Astro v2.4.5 relate to paths.