github withastro/astro @astrojs/image@0.4.0

latest releases: astro@4.11.3, astro@4.11.2, @astrojs/studio@0.1.1...
22 months ago

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, 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

Don't miss a new astro release

NewReleases is sending notifications on new releases.