1.0.6 • Published 6 months ago

@types/extra-watch-webpack-plugin v1.0.6

Weekly downloads
1,343
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for extra-watch-webpack-plugin 1.0
// Project: https://github.com/pigcan/extra-watch-webpack-plugin#readme
// Definitions by: Dave Cardwell <https://github.com/davecardwell>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7

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 | ReadonlyArray<string> | undefined;
        /**
         * attach extra dirs to webpack's watch system
         * @default []
         */
        dirs?: string | ReadonlyArray<string> | undefined;
    }
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 12:01:25 GMT
  • Dependencies: @types/webpack
  • Global values: none

Credits

These definitions were written by Dave Cardwell.

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

7 months ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

5 years ago