0.7.5 • Published 6 months ago

@types/purifycss-webpack v0.7.5

Weekly downloads
307
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for purifycss-webpack 0.7
// Project: https://github.com/webpack-contrib/purifycss-webpack
// Definitions by: Geoff Garbers <https://github.com/garbetjie>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7

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: Thu, 08 Jul 2021 20:20:00 GMT
  • Dependencies: @types/webpack
  • Global values: none

Credits

These definitions were written by Geoff Garbers.

0.7.5

6 months ago

0.7.4

7 months ago

0.7.3

8 months ago

0.7.2

3 years ago

0.7.1

3 years ago

0.7.0

4 years ago