Remove html task from gulpfile

This commit is contained in:
Ken-Håvard Lieng 2016-03-16 23:25:25 +01:00
parent 240392dcae
commit 8b6236446f

View File

@ -4,7 +4,6 @@ var url = require('url');
var gulp = require('gulp');
var gutil = require('gulp-util');
var htmlmin = require('gulp-htmlmin');
var nano = require('gulp-cssnano');
var autoprefixer = require('gulp-autoprefixer');
var gzip = require('gulp-gzip');
@ -14,15 +13,6 @@ var express = require('express');
var proxy = require('express-http-proxy');
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() {
return gulp.src(['src/css/fonts.css', 'src/css/fontello.css', 'src/css/style.css'])
.pipe(concat('bundle.css'))