natemoo-re / astro-icon

Inline and sprite-based SVGs in Astro made easy!
https://astroicon.dev
Other
1.01k stars 57 forks source link

Update Sprite context to use `Astro.request` #64

Closed stramel closed 1 year ago

stramel commented 1 year ago

This PR updates the Sprite context to utilize Astro.request instead of hacking the Astro SSRResult for tracking the Sprite usages. This also removes a few @ts-ignores which are always nice to remove.

This replaces #58 with a correct fix.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 6a5ed4b9e142c9720e1b4ec1e293dcd641c2b78c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ---------- | ----- | | astro-icon | Patch | | www | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
api-astroicon ✅ Ready (Inspect) Visit Preview Oct 26, 2022 at 3:54PM (UTC)
astroicon ✅ Ready (Inspect) Visit Preview Oct 26, 2022 at 3:54PM (UTC)