v3.0.0
- Class attribute from
<img>
tags are not moved to<picture>
by default. That behaviour can be enabled through option,hoistImgClass
- New option
pictureClass
to provide class names for the newly created<picture>
elements. - Also, you can provide class name to
<picture>
throughdata-img2picture-picture-class
attribute on<img>
tag.
Full Changelog: v2.0.3...v3.0.0