next-export-optimize-images
v4.6.1
Published
Optimize images at build time with Next.js.
Downloads
14,408
Maintainers
Readme
Next Export Optimize Images
Using this repository, you can get the full benefits of next/image
even when using next export
by doing image optimization at build time.
This makes it possible to build a high performance website with this solution, whether you want to build a simple website or a completely static output.
Feature
- Optimize images at build time.
- All options for
next/image
available - Convert formats (png → webp, etc.)
- Download external images locally.
- Using
sharp
, so it's fast. - Cache prevents repeating the same optimization
- Support TypeScript
- Support AppRouter
Installation
npm install next-export-optimize-images
Document Site
https://next-export-optimize-images.vercel.app
License
Next Export Optimize Images is available under the MIT License.