github-actions
released this
12 Sep 22:48
·
444 commits
to main
since this release
Major Changes
-
#608
a3f94f2
Thanks @simonihmig! - Use imagetools for more image processing options@responsive-image/webpack
is now using theimagetools-core
package for image processing viasharp
. This now supports not only scaling to different sizes and generating different image formats as before, but also a lot of other directives for image manipulation.Breaking Changes: Some parameters passed to the loader as defaults directly or using as query parameters in imports had to change to align with that library:
widths
has been renamed tow
formats
toformat
- the separator for array vlues has been changed to
;
instead of,
Example:
import image from './path/to/image.jpg?w=400;800&responsive';