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
- Last updated: Thu, 23 Dec 2021 23:36:04 GMT
- Dependencies: @types/webpack, @types/glob
- Global values: none
Credits
These definitions were written by DefinitelyTyped.