Gulp plugin gulp-minify-css, output all.min.css uncompressed

  node.js, question

Gulpfile.js reads as follows

The output all.min.css is not compressed. why! ! !

Vargulp = require ('gulp')//base library
 Imagemin = require ('gulp-imagemin'),//picture compression
 Minifycss = require ('gulp-minify-css'),//css compression
 Jshint = require ('gulp-jshin'),//js check
 Uglify = require ('gulp-uglify'),//js compression
 Rename = require ('gulp-rename'),//rename
 Concat = require ('gulp-concat'),//merge files
 Connect = require ('gulp-connect')//web service
 Useref = require ('gulp-useref'),//process reference
 del = require('del');  //Empty folder
 
 
 var Path = {
 css_src: './src/css/*.css',
 css_dist: './dist/css/',
 css_theme_src: './src/css/themes/**/*.*',
 css_theme_dist: './dist/css/themes/',
 img_src: './src/image/*.*',
 img_dist: './dist/image/',
 js_src: './src/js/**/*.js',
 js_dist: './dist/js/',
 js_lib_src: './src/lib/*.js',
 js_lib_dist: './dist/lib/',
 html_src: './src/**/*.html',
 html_dist: './dist/'
 };
 
 
 //style processing
 gulp.task('css', function () {
 gulp.src(Path.css_src)
 .pipe(concat('all.min.css'))
 .pipe(minifycss())
 .pipe(gulp.dest(Path.css_dist))
 .pipe(connect.reload());
 
 gulp.src(Path.css_theme_src)
 .pipe(gulp.dest(Path.css_theme_dist))
 .pipe(connect.reload());
 });
 
 
 //picture processing
 gulp.task('image', function () {
 gulp.src(Path.img_src)
 .pipe(imagemin())
 .pipe(gulp.dest(Path.img_dist))
 .pipe(connect.reload());
 });
 
 
 // js processing
 gulp.task('js', function () {
 gulp.src(Path.js_lib_src)
 .pipe(rename({suffix: '.min'}))
 .pipe(uglify())
 .pipe(gulp.dest(Path.js_lib_dist))
 .pipe(connect.reload());
 
 gulp.src(Path.js_src)
 .pipe(jshint('.jshintrc'))
 .pipe(jshint.reporter('default'))
 
 .pipe(concat('all.min.js'))
 .pipe(uglify())
 .pipe(gulp.dest(Path.js_dist))
 .pipe(connect.reload());
 });
 
 
 // HTML processing
 gulp.task('html', function () {
 gulp.src(Path.html_src)
 .pipe(useref())
 .pipe(gulp.dest(Path.html_dist))
 .pipe(connect.reload());
 });
 
 
 //empty img css js html
 gulp.task('clean', function () {
 del.sync(['./dist/css', './dist/image', './dist/js', './dist/**/*.html'])
 });
 
 
 //service
 gulp.task('connect', function () {
 connect.server({
 livereload: true
 });
 });
 
 
 //Default Task
 gulp.task('default', ['clean', 'watch', 'connect'], function () {
 gulp.start('css', 'image', 'js', 'html');
 });
 
 
 //listen for task run statement gulp watch
 gulp.task('watch', function () {
 
 //monitor css
 gulp.watch('./src/css/*.css', function () {
 gulp.run('css');
 });
 
 //Monitor image
 gulp.watch('./src/image/*.*', function () {
 gulp.run('image');
 });
 
 //Monitor js
 gulp.watch('./src/js/**/*.js', function () {
 gulp.run('js');
 });
 
 //listen to html
 gulp.watch('./src/**/*.html', function () {
 gulp.run('html');
 })
 });

Displayed on npmgulp-minify-cssHas been abandoned, you can try to use this plug-ingulp-cssnano