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
Hi everyone, I recently tried to migrate from Gulp 3 to Gulp 4, I use gulp-usemin in my project, I have a task like this:
gulp.task('usemin', function () { return gulp.src('.tmp/**/*.html') .pipe($.usemin({ css: ['concat', $.cleanCss], js: ['concat', $.uglify] })) .pipe(gulp.dest('dist')); });
This works fine but when I try to pass some options into uglify or cleanCss task like this:
gulp.task('usemin', function () { return gulp.src('.tmp/**/*.html') .pipe($.usemin({ css: ['concat', $.cleanCss], js: ['concat', $.uglify({ outSourceMap: true })] })) .pipe(gulp.dest('dist')); });
Gulp break the workflow and throughout this:
[20:29:31] The following tasks did not complete: build, usemin [20:29:31] Did you forget to signal async completion?
What should I do to avoid this? Thx
The text was updated successfully, but these errors were encountered:
try using runSequence. Seems that one of your tasks is running too early/too late to play nicely with usemin.
Sorry, something went wrong.
No branches or pull requests
Hi everyone, I recently tried to migrate from Gulp 3 to Gulp 4, I use gulp-usemin in my project, I have a task like this:
This works fine but when I try to pass some options into uglify or cleanCss task like this:
Gulp break the workflow and throughout this:
What should I do to avoid this? Thx
The text was updated successfully, but these errors were encountered: