minify bundle properly
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ public/components
|
||||
.idea/
|
||||
.settings/
|
||||
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(){
|
||||
return gulp.src('css/*.css')
|
||||
.pipe(concatCss("bundle.css"))
|
||||
.pipe(minifyCss({compatibility: 'ie8'}))
|
||||
.pipe(gulp.dest('css'));
|
||||
});
|
||||
@@ -73,7 +74,7 @@ gulp.task('cachebust', function(){
|
||||
});
|
||||
|
||||
gulp.task('publish', [
|
||||
'combineCss',
|
||||
'minfiyCss',
|
||||
'minifyHtml',
|
||||
'minifyJs',
|
||||
'cachebust'
|
||||
|
||||
Reference in New Issue
Block a user