Closed flaunder007 closed 4 months ago
node v20.12.2
gulp CLI version: 3.0.0 Local version: 5.0.0
imagemin "gulp-imagemin": "^9.0.0",
add ancoding: false to src like this:
return src([`${paths.imagesFolder.src}/**/**.{jpg,jpeg,png,svg}`], { encoding: false })
It worked, thanks a lot!
Task:
gulpfile.js
After i start "gulp img" it geave me
so it optimize only svg, but all ather files (whitch, by the way, are not optimized) turned out corrupted, and cant be shown.
I run this in Windows 11.