Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dc7290/next-export-optimize-images
Optimize images at build time with Next.js.
https://github.com/dc7290/next-export-optimize-images
nextjs optimization typescript
Last synced: about 6 hours ago
JSON representation
Optimize images at build time with Next.js.
- Host: GitHub
- URL: https://github.com/dc7290/next-export-optimize-images
- Owner: dc7290
- License: mit
- Created: 2022-02-06T17:04:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T18:13:55.000Z (17 days ago)
- Last Synced: 2024-10-29T20:19:45.699Z (17 days ago)
- Topics: nextjs, optimization, typescript
- Language: TypeScript
- Homepage: https://next-export-optimize-images.vercel.app
- Size: 15.7 MB
- Stars: 396
- Watchers: 0
- Forks: 36
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
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
```bash
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.