Files
DefinitelyTyped/types/webpack-cleanup-plugin/index.d.ts
2017-12-14 10:08:58 +01:00

32 lines
910 B
TypeScript

// 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
import webpack = require('webpack');
export = WebpackCleanupPlugin;
declare class WebpackCleanupPlugin extends webpack.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[];
/**
* Print the list of the files that will be deleted without actually deleting them.
*/
preview?: boolean;
/**
* Mute the console output.
*/
quiet?: boolean;
}
}