Commit ac5c01a8 authored by Son Nguyen's avatar Son Nguyen Committed by Robert Lyon
Browse files

Bug 1569121: Replacing deprecated gulp-minify-css by gulp-clean-css

behatnotneeded

Change-Id: Id89d92e2ac6735dbc9d2be126cd535eb832a2572
(cherry picked from commit c0d4fecc)
parent 896c0b9e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ require('es6-promise').polyfill();
// Include Our Plugins
var sass = require('gulp-sass');
var path = require('path');
var minifyCSS = require('gulp-minify-css');
var cleanCSS = require('gulp-clean-css');
var autoprefixer = require('gulp-autoprefixer');
var bless = require('gulp-bless');
var es = require('event-stream');
@@ -36,7 +36,7 @@ gulp.task('css', 'Compile SASS into CSS', function () {
              browsers: ['last 4 version'],
              cascade: false
            }))
            .pipe(gulpif(argv.production !== 'false', minifyCSS()))
            .pipe(gulpif(argv.production !== 'false', cleanCSS()))
            .pipe(gulpif(argv.production !== 'false', bless()))
            .pipe(gulp.dest('style/', {cwd: themepath}));
    });
+2 −2
Original line number Diff line number Diff line
{
  "name": "mahara-themes",
  "version": "1.0.0",
  "version": "1.0.1",
  "description": "Compiles SASS files into CSS for all Mahara themes",
  "main": "gulpfile.js",
  "dependencies": {
    "gulp": "^3.9.0",
    "gulp-minify-css": "^1.1.6",
    "gulp-clean-css": "^2.0.6",
    "gulp-sass": "^2.0.1",
    "gulp-help": "^1.6.1",
    "path": "^0.11.14",