@types/extra-watch-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/extra-watch-webpack-plugin

Weekly Downloads

7,977

Version

1.0.6

License

MIT

Unpacked Size

4.22 kB

Total Files

5

Last publish

Collaborators

  • types