DefinitelyTyped/types/gulp-rev-replace/index.d.ts
Liam McLoughlin dfd2e2fcc2 Allow specific mangle options to be passed to gulp-uglify, fix incorrectly narrow type in uglify-js (#28085)
* Allow specific mangle options to be passed to gulp-uglify

* Set required TS version

* Update uglify-js v2 too

* Fix tests
2018-10-15 09:58:40 -07:00

24 lines
682 B
TypeScript

// Type definitions for gulp-rev-replace v0.2.1
// Project: https://github.com/jamesknelson/gulp-rev-replace
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
/// <reference types="node" />
declare namespace revReplace {
interface Options {
canonicalUris?: boolean;
replaceInExtensions?: Array<string>;
prefix?: string;
manifest?: NodeJS.ReadWriteStream;
modifyUnreved?: Function;
modifyReved?: Function;
}
}
declare function revReplace(options?: revReplace.Options): NodeJS.ReadWriteStream;
export = revReplace;