// Type definitions for gulp-uglify 3.0 // Project: https://github.com/terinjokes/gulp-uglify // Definitions by: Christopher Haws // Leonard Thieu // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// import * as UglifyJS from 'uglify-js'; declare namespace GulpUglify { interface Options { /** * Pass false to skip mangling names. */ mangle?: boolean; /** * Pass if you wish to specify additional output options. The defaults are optimized for best compression. */ output?: UglifyJS.BeautifierOptions; /** * Pass an object to specify custom compressor options. Pass false to skip compression completely. */ compress?: UglifyJS.CompressorOptions | boolean; } } declare function GulpUglify(options?: GulpUglify.Options): NodeJS.ReadWriteStream; export = GulpUglify;