Overview of next-export-optimize-images features
mainThis package enables the full benefits of next/image for static Next.js exports (using next export) by performing image optimization during the build process rather than at runtime.
Key features include:
- Build-time optimization: Processes images during the build to support static hosting.
- Format conversion: Automatically converts images to modern formats (e.g., png → webp).
- External image support: Downloads external images locally for optimization.
- High performance: Uses
sharpfor fast processing and implements caching to prevent redundant optimizations. - Compatibility: Supports TypeScript and the Next.js App Router.