// Type definitions for webpack-cleanup-plugin 0.5 // Project: https://github.com/gpbl/webpack-cleanup-plugin#readme // Definitions by: Luka Maljic // 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; } }