@types/purifycss-webpack
TypeScript icon, indicating that this package has built-in type declarations

0.7.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/purifycss-webpack

Weekly Downloads

72

Version

0.7.5

License

MIT

Unpacked Size

3.97 kB

Total Files

5

Last publish

Collaborators

  • types