We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The pictures jpg & png format are broken and don't work after copy from "src" to "dest"
Full example - repo
Gulp file code:
`const { src, dest } = require('gulp');
function defaultTask(cb) { return src("img/*.+(jpg|png|svg)") .pipe(dest('img-after/')); cb(); }
exports.default = defaultTask`
As you can see the pictures break and stop working. Original image link and image after gulp transferring link
Windows 11 node -v : v18.19.0 npm -v : 10.4.0 gulp -v: CLI version: 3.0.0 Local version: 5.0.0
The text was updated successfully, but these errors were encountered:
#2777 (comment)
Sorry, something went wrong.
Docs have been updated: https://github.com/gulpjs/gulp/blob/master/docs/api/src.md#options
You need to add { encoding: false } for binary files.
{ encoding: false }
No branches or pull requests
What actually happened?
The pictures jpg & png format are broken and don't work after copy from "src" to "dest"
Please give us a sample of your gulpfile
Full example - repo
Gulp file code:
`const { src, dest } = require('gulp');
function defaultTask(cb) {
return src("img/*.+(jpg|png|svg)")
.pipe(dest('img-after/'));
cb();
}
exports.default = defaultTask`
As you can see the pictures break and stop working. Original image link and image after gulp transferring link
Please provide the following information:
Windows 11
node -v : v18.19.0
npm -v : 10.4.0
gulp -v: CLI version: 3.0.0 Local version: 5.0.0
The text was updated successfully, but these errors were encountered: