Remove html task from gulpfile
This commit is contained in:
parent
240392dcae
commit
8b6236446f
|
@ -4,7 +4,6 @@ var url = require('url');
|
||||||
|
|
||||||
var gulp = require('gulp');
|
var gulp = require('gulp');
|
||||||
var gutil = require('gulp-util');
|
var gutil = require('gulp-util');
|
||||||
var htmlmin = require('gulp-htmlmin');
|
|
||||||
var nano = require('gulp-cssnano');
|
var nano = require('gulp-cssnano');
|
||||||
var autoprefixer = require('gulp-autoprefixer');
|
var autoprefixer = require('gulp-autoprefixer');
|
||||||
var gzip = require('gulp-gzip');
|
var gzip = require('gulp-gzip');
|
||||||
|
@ -14,15 +13,6 @@ var express = require('express');
|
||||||
var proxy = require('express-http-proxy');
|
var proxy = require('express-http-proxy');
|
||||||
var webpack = require('webpack');
|
var webpack = require('webpack');
|
||||||
|
|
||||||
gulp.task('html', function() {
|
|
||||||
return gulp.src('src/*.html')
|
|
||||||
.pipe(htmlmin({
|
|
||||||
collapseWhitespace: true,
|
|
||||||
removeAttributeQuotes: true
|
|
||||||
}))
|
|
||||||
.pipe(gulp.dest('dist'));
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task('css', function() {
|
gulp.task('css', function() {
|
||||||
return gulp.src(['src/css/fonts.css', 'src/css/fontello.css', 'src/css/style.css'])
|
return gulp.src(['src/css/fonts.css', 'src/css/fontello.css', 'src/css/style.css'])
|
||||||
.pipe(concat('bundle.css'))
|
.pipe(concat('bundle.css'))
|
||||||
|
|
Loading…
Reference in New Issue