Skip to content

Commit 3353104

Browse files
author
Jarek Krochmalski
committed
GIT upgraded, cssso removed due to errors, introduced css-nano.
1 parent eebf41e commit 3353104

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"gulp-bower": "0.0.11",
1717
"gulp-complexity": "0.3.2",
1818
"gulp-connect": "2.3.1",
19-
"gulp-csso": "1.0.1",
19+
"gulp-cssnano": "2.1.0",
2020
"gulp-debug": "2.1.2",
2121
"gulp-eslint": "1.1.1",
2222
"gulp-filenames": "2.0.0",

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"gulp-bower": "0.0.11",
1717
"gulp-complexity": "0.3.2",
1818
"gulp-connect": "2.3.1",
19-
"gulp-csso": "1.0.1",
19+
"gulp-cssnano": "2.1.0",
2020
"gulp-debug": "2.1.2",
2121
"gulp-eslint": "1.1.1",
2222
"gulp-filenames": "2.0.0",

setenv.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
call cfg nodejs 4.2.2 git 1.9.5.msysgit.0 ruby 2.2.2 python 2.7.10
1+
call cfg nodejs 4.2.2 git 2.6.3 ruby 2.2.2 python 2.7.10
22

33
REM Fetch npm dependencies
44
set PATH=%PATH%;%cd%\node_modules\.bin

tasks/build.gulp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var gulp = require('gulp'),
44
angularFilesort = require('gulp-angular-filesort'),
55
bower = require('gulp-bower'),
6-
csso = require('gulp-csso'),
6+
minifyCss = require('gulp-cssnano'),
77
debug = require('gulp-debug'),
88
filter = require('gulp-filter'),
99
gulpIf = require('gulp-if'),
@@ -92,7 +92,7 @@ gulp.task('build', ['bower', 'js', 'images', 'fonts', 'build-styles', 'partials'
9292
.pipe(gulpIf(['**/*.js', '**/*.css'], rev()))
9393
.pipe(gulpIf('*.js', ngAnnotate()))
9494
.pipe(gulpIf('*.js', uglify()))
95-
.pipe(gulpIf('*.css', csso()))
95+
.pipe(gulpIf('*.css', minifyCss()))
9696
.pipe(debug())
9797
.pipe(revReplace())
9898
.pipe(gulpIf('*.html', htmlmin({

0 commit comments

Comments
 (0)