'gulp-webp plugin does corrupted images

So today I started to create a new gulpfile. When I needed to convert images to webp, and gulp-webp plugin gives me corrupted .jpg and .webp files with no error. So, conversion is working, i think. But images is not displayed on my webpage. I tried to install other plugins, but i have the same problem. Reading docs didn't give any help. I'm stuck.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source