Installation
npm install --save @types/extra-watch-webpack-plugin
Summary
This package contains type definitions for extra-watch-webpack-plugin (https://github.com/pigcan/extra-watch-webpack-plugin#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extra-watch-webpack-plugin.
index.d.ts
import { Plugin } from "webpack";
export = ExtraWatchWebpackPlugin;
declare class ExtraWatchWebpackPlugin extends Plugin {
static defaults: {
cwd: string;
files: string[];
dirs: string[];
};
constructor(options?: ExtraWatchWebpackPlugin.Options);
}
declare namespace ExtraWatchWebpackPlugin {
interface Options {
/**
* (absolute path or glob pattern), attach extra files to webpack's watch system
* @default []
*/
files?: string | readonly string[] | undefined;
/**
* attach extra dirs to webpack's watch system
* @default []
*/
dirs?: string | readonly string[] | undefined;
}
}
Additional Details
- Last updated: Mon, 20 Nov 2023 23:36:24 GMT
- Dependencies: @types/webpack
Credits
These definitions were written by Dave Cardwell.