Minor Changes
-
#4482
00c605ce3
Thanks @tony-sull! -<Image />
and<Picture />
now support using images in the/public
directory 🎉- Moving handling of local image files into the Vite plugin
- Optimized image files are now built to
/dist
with hashes provided by Vite, removing the need for a/dist/_image
directory - Removes three npm dependencies:
etag
,slash
, andtiny-glob
- Replaces
mrmime
with themime
package already used by Astro's SSR server - Simplifies the injected
_image
route to work for bothdev
andbuild
- Adds a new test suite for using images with
@astrojs/mdx
- including optimizing images straight from/public