@types/webpack-watched-glob-entries-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.1.3 • Public • Published

Installation

npm install --save @types/webpack-watched-glob-entries-plugin

Summary

This package contains type definitions for webpack-watched-glob-entries-plugin (https://github.com/Milanzor/webpack-watched-glob-entries-plugin#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-watched-glob-entries-plugin.

index.d.ts

// Type definitions for webpack-watched-glob-entries-plugin 2.1
// Project: https://github.com/Milanzor/webpack-watched-glob-entries-plugin#readme
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7

import { IOptions } from 'glob';
import { EntryFunc, Plugin } from 'webpack';

interface PluginOptions {
    basename_as_entry_name?: boolean | undefined;
}

declare class WebpackWatchedGlobEntries extends Plugin {
    static getEntries(globs: string[], globOptions?: IOptions, pluginOptions?: PluginOptions): EntryFunc;
    static getFiles(globString: string, globOptions?: IOptions, basename_as_entry_name?: boolean): Record<string, string>;
}

export = WebpackWatchedGlobEntries;

Additional Details

Credits

These definitions were written by DefinitelyTyped.

Keywords

none

Install

npm i @types/webpack-watched-glob-entries-plugin

DownloadsWeekly Downloads

388

Version

2.1.3

License

MIT

Unpacked Size

4.59 kB

Total Files

4

Last publish

Collaborators

  • types