Neah/node_modules/next/dist/build/webpack/plugins/css-minimizer-plugin.d.ts
2025-04-24 17:19:14 +02:00

19 lines
574 B
TypeScript

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 {};