WebP & AVIF Image Optimizer
EmDash plugin that converts uploaded JPEG/PNG images to WebP or AVIF, keeping the originals. Converts on upload and in bulk.
Plugin
WebP & AVIF Image Optimizer
EmDash plugin that converts uploaded JPEG/PNG images to WebP or AVIF, keeping the originals. Converts on upload and in bulk.
EmDash plugin that converts uploaded JPEG/PNG images to WebP or AVIF, keeping the originals. Converts on upload and in bulk.
Installation
Install the package from npm:
npm install emdash-plugin-image-optimizer
Register the plugin in your Astro config:
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { imageOptimizerPlugin } from "emdash-plugin-image-optimizer";
export default defineConfig({
integrations: [
emdash({
// ...
plugins: [imageOptimizerPlugin()],
}),
],
});
Details
- Latest version: 0.1.2
- License: MIT
- Publisher: Yamadori
- Requires: EmDash
>=1.2.0 - Source repository: https://github.com/Yarnadori/emdash-plugin-image-optimizer
- npm package: emdash-plugin-image-optimizer