Browse Source

Fixed css minify

master
Igor Zhukov 10 years ago
parent
commit
d7c61078c1
  1. 2
      gulpfile.js
  2. 4
      package.json

2
gulpfile.js

@ -25,7 +25,7 @@ gulp.task('usemin', ['templates', 'enable-production'], function() { @@ -25,7 +25,7 @@ gulp.task('usemin', ['templates', 'enable-production'], function() {
.pipe($.usemin({
html: [$.minifyHtml({empty: true})],
js: ['concat', $.ngAnnotate(), $.uglify({outSourceMap: false})],
css: [$.minifyCss(), 'concat']
css: [$.minifyCss({compatibility: true, keepBreaks: true}), 'concat']
}))
.pipe(gulp.dest('dist'));
});

4
package.json

@ -51,13 +51,13 @@ @@ -51,13 +51,13 @@
"gulp-livereload": "^3.0.2",
"gulp-load-plugins": "^0.4.0",
"gulp-manifest": "0.0.3",
"gulp-minify-css": "^0.3.0",
"gulp-minify-css": "^0.3.12",
"gulp-minify-html": "^0.1.1",
"gulp-ng-annotate": "~0.3.3",
"gulp-replace": "^0.2.0",
"gulp-rev": "^1.1.0",
"gulp-uglify": "^1.0.2",
"gulp-usemin": "^0.3.8",
"gulp-usemin": "^0.3.11",
"gulp-zip": "^0.1.2",
"http": "0.0.0",
"st": "^0.5.2"

Loading…
Cancel
Save