"Deprecate" gulp-minify-html in favor of gulp-htmlmin

This commit is contained in:
Tanguy Krotoff
2016-01-06 17:25:55 +01:00
parent b29d9f6340
commit 84fecab4c3
2 changed files with 5 additions and 0 deletions
@@ -4,6 +4,8 @@
import * as gulp from 'gulp';
import * as minifyHtml from 'gulp-minify-html';
// This package has been deprecated in favor of gulp-htmlmin, which should be faster and more comprehensive.
minifyHtml();
minifyHtml({conditionals: true, loose: true});
+3
View File
@@ -5,8 +5,11 @@
/// <reference path="../node/node.d.ts" />
// This package has been deprecated in favor of gulp-htmlmin, which should be faster and more comprehensive.
declare module 'gulp-minify-html' {
namespace minifyHtml {
// Options from https://github.com/Swaagie/minimize#options
interface Options {
// Do not remove empty attributes
empty?: boolean;