minify bundle properly
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ public/components
|
|||||||
.idea/
|
.idea/
|
||||||
.settings/
|
.settings/
|
||||||
components/
|
components/
|
||||||
|
css/bundle.css
|
||||||
|
|||||||
41356
css/bundle.css
41356
css/bundle.css
File diff suppressed because it is too large
Load Diff
@@ -40,6 +40,7 @@ gulp.task('minifyHtml',function(){
|
|||||||
|
|
||||||
gulp.task('minfiyCss', function(){
|
gulp.task('minfiyCss', function(){
|
||||||
return gulp.src('css/*.css')
|
return gulp.src('css/*.css')
|
||||||
|
.pipe(concatCss("bundle.css"))
|
||||||
.pipe(minifyCss({compatibility: 'ie8'}))
|
.pipe(minifyCss({compatibility: 'ie8'}))
|
||||||
.pipe(gulp.dest('css'));
|
.pipe(gulp.dest('css'));
|
||||||
});
|
});
|
||||||
@@ -73,7 +74,7 @@ gulp.task('cachebust', function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('publish', [
|
gulp.task('publish', [
|
||||||
'combineCss',
|
'minfiyCss',
|
||||||
'minifyHtml',
|
'minifyHtml',
|
||||||
'minifyJs',
|
'minifyJs',
|
||||||
'cachebust'
|
'cachebust'
|
||||||
|
|||||||
Reference in New Issue
Block a user