@bellcubedev/next-export-optimize-images
TypeScript icon, indicating that this package has built-in type declarations

5.0.0 • Public • Published

THIS IS A FORK TO ADD ESM SUPPORT

You'll need to test this for yourself. It works in my use case but the tests refuse to run so your mileage may vary.

Anyway, back to normal readme stuff

npm downloads License Node.js CI GitHub Repo stars

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

yarn add -D next-export-optimize-images

Document Site

https://next-export-optimize-images.vercel.app

License

Next Export Optimize Images is available under the MIT License.

Package Sidebar

Install

npm i @bellcubedev/next-export-optimize-images

Weekly Downloads

4

Version

5.0.0

License

MIT

Unpacked Size

298 kB

Total Files

42

Last publish

Collaborators

  • bellcubedev