gulp-minify-css now uses clean-css

This commit is contained in:
Tanguy Krotoff
2016-01-06 17:20:26 +01:00
parent 0009f34a8c
commit 44f1cdb876
2 changed files with 4 additions and 20 deletions

View File

@@ -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";

View File

@@ -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 {}