Installation
npm install --save @types/webpack-watch-files-plugin
Summary
This package contains type definitions for webpack-watch-files-plugin (https://github.com/Fridus/webpack-watch-files-plugin).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-watch-files-plugin.
index.d.ts
/// <reference types="node" />
import { Compiler } from "webpack";
interface Options {
/**
* Array of patterns.
* @default []
*/
files?: readonly string[];
/**
* List files found.
* @default false
*/
verbose?: boolean;
}
declare class WebpackWatchFilesPlugin {
constructor(options?: Options);
apply(compiler: Compiler): void;
}
export = WebpackWatchFilesPlugin;
Additional Details
- Last updated: Tue, 07 Nov 2023 1536 GMT
- Dependencies: @types/node, tapable, webpack
Credits
These definitions were written by Ben Grynhaus.