Installation
npm install --save @types/purifycss-webpack
Summary
This package contains type definitions for purifycss-webpack (https://github.com/webpack-contrib/purifycss-webpack).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/purifycss-webpack.
index.d.ts
import * as webpack from "webpack";
declare class PurifyPlugin extends webpack.Plugin {
constructor(options?: PurifyOptions);
}
interface PurifyOptions {
styleExtensions?: string[] | undefined;
moduleExtensions?: string[] | undefined;
minimize?: boolean | undefined;
paths?: object | string[] | undefined;
purifyOptions?: {
minify?: boolean | undefined;
output?: string | boolean | undefined;
info?: boolean | undefined;
rejected?: boolean | undefined;
whitelist?: string[] | undefined;
} | undefined;
verbose?: boolean | undefined;
}
export = PurifyPlugin;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/webpack
Credits
These definitions were written by Geoff Garbers.