/opt/canhelp/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src
Edit: /opt/canhelp/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.d.ts (536B)
import { sources, type CacheFacade, type Compilation } from 'next/dist/compiled/webpack/webpack';
export declare class MinifyPlugin {
private options;
constructor(options: {
noMangling?: boolean;
disableCharFreq?: boolean;
});
optimize(compiler: any, compilation: Compilation, assets: any, cache: CacheFacade, { SourceMapSource, RawSource, }: {
SourceMapSource: typeof sources.SourceMapSource;
RawSource: typeof sources.RawSource;
}): Promise
;
apply(compiler: any): void;
}