Installation
npm install --save @types/gulp-minify-html
Summary
This package contains type definitions for gulp-minify-html (https://github.com/murphydanger/gulp-minify-html).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-minify-html.
index.d.ts
/// <reference types="node" />
// This package has been deprecated in favor of gulp-htmlmin, which should be faster and more comprehensive.
declare namespace minifyHtml {
// Options from https://github.com/Swaagie/minimize#options
interface Options {
// Do not remove empty attributes
empty?: boolean | undefined;
// Do not strip CDATA from scripts
cdata?: boolean | undefined;
// Do not remove comments
comments?: boolean | undefined;
// Do not remove conditional internet explorer comments
conditionals?: boolean | undefined;
// Do not remove redundant attributes
spare?: boolean | undefined;
// Do not remove arbitrary quotes
quotes?: boolean | undefined;
// Preserve one whitespace
loose?: boolean | undefined;
}
}
declare function minifyHtml(options?: minifyHtml.Options): NodeJS.ReadWriteStream;
export = minifyHtml;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/node
Credits
These definitions were written by Tanguy Krotoff.