Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 648 Bytes

lucky-mirrors-type.md

File metadata and controls

12 lines (10 loc) · 648 Bytes
@astrojs/image
minor

<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, and tiny-glob
  • Replaces mrmime with the mime package already used by Astro's SSR server
  • Simplifies the injected _image route to work for both dev and build
  • Adds a new test suite for using images with @astrojs/mdx - including optimizing images straight from /public