0.5.7 • Published 6 months ago
@types/webpack-cleanup-plugin v0.5.7
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
// Type definitions for webpack-cleanup-plugin 0.5
// Project: https://github.com/gpbl/webpack-cleanup-plugin#readme
// Definitions by: Luka Maljic <https://github.com/malj>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7
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: Fri, 02 Jul 2021 18:05:26 GMT
- Dependencies: @types/webpack
- Global values: none
Credits
These definitions were written by Luka Maljic.