Installation
npm install --save @types/optimize-css-assets-webpack-plugin
Summary
This package contains type definitions for optimize-css-assets-webpack-plugin (http://github.com/nmfr/optimize-css-assets-webpack-plugin).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/optimize-css-assets-webpack-plugin.
import { WebpackPluginInstance as Plugin, Compiler } from 'webpack';
export = OptimizeCssAssetsPlugin;
declare namespace OptimizeCssAssetsPlugin {
interface Options {
assetNameRegExp?: RegExp | undefined;
cssProcessor?: {
process: (css: string, options?: object) => PromiseLike<any>;
} | undefined;
cssProcessorOptions?: object | undefined;
cssProcessorPluginOptions?: object | undefined;
canPrint?: boolean | undefined;
}
}
declare class OptimizeCssAssetsPlugin implements Plugin {
constructor(options?: OptimizeCssAssetsPlugin.Options);
apply(compiler: Compiler): void;
}
Additional Details
- Last updated: Wed, 07 Jul 2021 17:02:23 GMT
- Dependencies: @types/webpack
- Global values: none
Credits
These definitions were written by Armando Meziat, and Spencer Miskoviak.