- Fix
next-img
cli to work with Next.js 13 - account for webpack's caching bahevior.
- Fix Picture.js to use CommonJS since Next.js does not traspile node_modules
- Add support for Next.js 13
- Upgrade all dependencies
- Remove the build step
- Add tests
- Fix: make sure the component does not crash if src is empty
- Fix: remove the experimental config warning (Issue #2)
- Fix boolean option parsing from the loader query, e.g. it is now possible to set
?png[webp][lossless]=false
.
- Provide
width
andheight
attributes forimg
tag when not using art direction. This is so that the browsers know the aspect ratio of the image and can plan the layout accordingly. Note, the width/height varies based on which actual image resolution is being loaded, and we're only specifying the smallest one, that's something the browsers can figure out.
- Change the image quality configuration format. Allow configuring
jpeg->webp
andpng->webp
conversions separately.
- Remove
console.logs
.
🎉