Gulp’s imagemin has never ended after it was executed?

  node.js, question


The diagram shows the console log after gulp is run. It can be seen that the processing modules of css, img and js are started respectively. After that, css and js processing are finished one after another, but img processing is still incomplete. Under dist directory, there are only some directories for pictures generated by gulp, and these directories are empty.
The task of gulpfile.js squadron ‘img’ is defined as follows:

gulp.task('img', function() {
 return gulp.src('./static/src/img/**/*')
 progressive: true,
 svgoPlugins: [{removeViewBox: false}],
 use: [pngquant()]

It looks as if you are in anothertaskInside has launched a blocking mission toimgI’ve stayed with block. Why don’t you list all the other tasks?