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

0.5.7 • Public • Published

Installation

npm install --save @types/webpack-cleanup-plugin

Summary

This package contains type definitions for webpack-cleanup-plugin (https://github.com/gpbl/webpack-cleanup-plugin#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-cleanup-plugin.

index.d.ts

import { Plugin } from "webpack";
export = WebpackCleanupPlugin;

declare class WebpackCleanupPlugin extends Plugin {
    constructor(options?: WebpackCleanupPlugin.Options);
}

declare namespace WebpackCleanupPlugin {
    interface Options {
        /**
         * Keep some files in the output path. It accepts globbing as in [minimatch](https://github.com/isaacs/minimatch).
         */
        exclude?: string[] | undefined;

        /**
         * Print the list of the files that will be deleted without actually deleting them.
         */
        preview?: boolean | undefined;

        /**
         * Mute the console output.
         */
        quiet?: boolean | undefined;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: @types/webpack

Credits

These definitions were written by Luka Maljic.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/webpack-cleanup-plugin

Weekly Downloads

232

Version

0.5.7

License

MIT

Unpacked Size

4.11 kB

Total Files

5

Last publish

Collaborators

  • types