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
i have gulp project that worked on windows 10. now i'm using macbook and gulp-webp not converting images to webp. any solutions?
source code: https://github.com/shahriyor-sharifjonov/gulp-2023
image code:
import webp from "gulp-webp" import imagemin from "gulp-imagemin"; export const images = () => { return app.gulp.src(app.path.src.images) .pipe(app.plugins.plumber( app.plugins.notify.onError({ title: "IMAGES", message: "Error: <%= error.message %>" }) )) .pipe(app.plugins.newer(app.path.build.images)) .pipe(webp()) .pipe(app.gulp.dest(app.path.build.images)) .pipe(app.gulp.src(app.path.src.images)) .pipe(app.plugins.newer(app.path.build.images)) .pipe(imagemin({ progressive: true, svgoPlugins: [{ removeViewBox: false }], interlaced: true, optimizationLevel: 3 // 0 to 7 })) .pipe(app.gulp.dest(app.path.build.images)) .pipe(app.plugins.browsersync.stream()); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i have gulp project that worked on windows 10. now i'm using macbook and gulp-webp not converting images to webp. any solutions?
source code: https://github.com/shahriyor-sharifjonov/gulp-2023
image code:
The text was updated successfully, but these errors were encountered: