From c337e26052cc4658e31739fe12d57228a134aeb3 Mon Sep 17 00:00:00 2001 From: Muhamad Nauval Azhar Date: Wed, 27 Feb 2019 22:31:22 +0700 Subject: [PATCH] removed Gulp minify task --- gulpfile.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 50a7c81..b79d28a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -125,23 +125,6 @@ function folder() { .pipe(dest('./assets/img')); } -function minify(){ - return src(sassDir) - .pipe(plumber()) - .pipe(sass({ - errorLogToConsole: true - })) - .on('error', console.error.bind( console )) - .pipe(rename({ - suffix: '.min' - })) - .pipe(postcss([autoprefixer(), cssnano()])) - .pipe(dest(cssDir)) - .pipe(notify({ - message: 'Minify <%= file.relative %> berhasil bos' - })); -} - function image() { return src(imgDir + '/**/*.*') .pipe(plumber()) @@ -212,9 +195,6 @@ exports.folder = folder; // Minify images exports.image = image; -// Run this command for styling OPs -exports.minify = minify; - // Compile SCSS exports.scss = compile_scss;