UNPKG

@h4ad/node-modules-packer

Version:

<h1 align="center"> 🚀 Node Modules Packer </h1>

11 lines • 523 B
/// <reference types="node" /> import { Transform, TransformCallback } from 'stream'; import { MinifyOptions } from 'terser'; export declare class UglifyJsTransformer extends Transform { protected readonly filePath: string; protected readonly uglifyOptions: MinifyOptions; constructor(filePath: string, uglifyOptions?: MinifyOptions); protected chunks: number; _transform(chunk: Buffer, encoding: string, callback: TransformCallback): Promise<void>; } //# sourceMappingURL=uglify-js.transformer.d.ts.map