tcoopman/image-webpack-loader

Generating both WEBP and not-WEBP images

オープン

#179 opened on 2019/02/05

 (5 件のコメント) (2 件のリアクション) (0 人の担当者)JavaScript (147 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (2,037 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

I want to use WEBP images, but I'd like to fallback them to PNG, JPEG or whatever file extension it is. So I need both versions of each file, but I'm not being able to make image-webpack-loader or webpack itself to save that way. Neither searching for a way (maybe I'm using the wrong search terms?).

All I need is two different files, one converted to WEBP, and the other just optimized.

Is there any way to do this?

Thanks for the help

コントリビューターガイド