mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
"Deprecate" gulp-minify-html in favor of gulp-htmlmin
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user