astro/.changeset/tasty-bags-accept.md
Alvin Bryan 4b82e55cf1
Allow SVGs when using Assets (#7643)
* Allow SVG files when using Assets

* Fixed TypeScript error

* fix: some small nits and add a test

* chore: changeset

---------

Co-authored-by: Princesseuh <princssdev@gmail.com>
2023-07-13 21:22:31 +02:00

228 B
Raw History

astro
patch

Add support for using .svg files with astro:assets's base services. The SVGs will NOT be processed and will be return as-is, however, proper attributes, alt enforcement etc will all work correctly.