File size: 574 Bytes
fea495a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | import { webpack, sources } from 'next/dist/compiled/webpack/webpack';
type CssMinimizerPluginOptions = {
postcssOptions: {
map: false | {
prev?: string | false;
inline: boolean;
annotation: boolean;
};
};
};
export declare class CssMinimizerPlugin {
__next_css_remove: boolean;
private options;
constructor(options: CssMinimizerPluginOptions);
optimizeAsset(file: string, asset: any): Promise<sources.RawSource | sources.SourceMapSource>;
apply(compiler: webpack.Compiler): void;
}
export {};
|