Answer the question
In order to leave comments, you need to log in
How to generate avif via gulp or webpack?
Support for avif
the image format has appeared in Chrome since version 85. So, it's time to reconfigure the collectors to generate additional formats in the same way webp
, so that optimized versions are created from sources and copied next to the original ones in different formats.
For webp
the problem is solved using for example gulp-webp
or imagemin-webp-webpack-plugin
, but for avif
me I did not find ready-made solutions.
Perhaps someone has already figured out how to implement this task?
Answer the question
In order to leave comments, you need to log in
Made a plugin for Gulp, while it's beta, but you can try. https://www.npmjs.com/package/gulp-avif
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question