Fixed css minify
This commit is contained in:
parent
d8407012d6
commit
d7c61078c1
@ -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'));
|
||||
});
|
||||
|
@ -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…
x
Reference in New Issue
Block a user