v12.0.1
In this release we fixed a bug that could occur when using absolute image paths (When you use S3 as backend, you are not affected).
In addition you can now define a new input variable next_image_base_origin
that can be used to resolve absolute image paths.
When you set next_image_base_origin = "https://example.com"
requests for an absolute image path (/path/to/image.png
) are then resolved to the URL https://example.com/path/to/image.png
.
We also added a fully featured example how to use next export
together with S3 and the image optimizer, check it out: Statically exported Next.js app hosted on S3
Changelog
- Add base origin setting (#94, #95)
- Uses Image Optimizer module of Next.js 12.0.1 (#81)