mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
gulp-minify-css now uses clean-css
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/// <reference path="./gulp-minify-css.d.ts" />
|
||||
/// <reference path="gulp-minify-css.d.ts" />
|
||||
/// <reference path="../gulp/gulp.d.ts" />
|
||||
|
||||
import * as gulp from "gulp";
|
||||
|
||||
22
gulp-minify-css/gulp-minify-css.d.ts
vendored
22
gulp-minify-css/gulp-minify-css.d.ts
vendored
@@ -4,28 +4,12 @@
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference path="../clean-css/clean-css.d.ts" />
|
||||
|
||||
declare module "gulp-minify-css" {
|
||||
import * as CleanCSS from 'clean-css';
|
||||
|
||||
interface IOptions {
|
||||
cache?: boolean;
|
||||
advanced?: boolean;
|
||||
aggressiveMerging?: boolean;
|
||||
benchmark?: boolean;
|
||||
compatibility?: string;
|
||||
debug?: boolean;
|
||||
inliner?: Object;
|
||||
keepBreaks?: boolean;
|
||||
keepSpecialComments?: string | number;
|
||||
processImport?: boolean;
|
||||
rebase?: boolean;
|
||||
relativeTo?: string;
|
||||
root?: string;
|
||||
roundingPrecision?: number;
|
||||
shorthandCompacting?: boolean;
|
||||
}
|
||||
|
||||
function minifyCSS(options?: IOptions): NodeJS.ReadWriteStream;
|
||||
function minifyCSS(options?: CleanCSS.Options): NodeJS.ReadWriteStream;
|
||||
|
||||
namespace minifyCSS {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user