Skip to content
项目

dc7290/next-export-optimize-images

在 GitHub 查看

关于

使用 Next.js 在构建时优化图片。

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

npm install next-export-optimize-images

Document Site

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

DeepWiki

https://deepwiki.com/dc7290/next-export-optimize-images

License

Next Export Optimize Images is available under the MIT License.

探索相关项目

加载中…