Installation
npm install --save @types/unused-files-webpack-plugin
Summary
This package contains type definitions for unused-files-webpack-plugin (https://github.com/tomchentw/unused-files-webpack-plugin).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/unused-files-webpack-plugin.
index.d.ts
import { Plugin } from "webpack";
export interface Options {
patterns?: string[] | undefined;
failOnUnused: boolean;
globOptions?: {
ignore?: string | string[] | undefined;
} | undefined;
ignore?: string | string[] | undefined;
cwd?: string | undefined;
}
export class UnusedFilesWebpackPlugin extends Plugin {
constructor(options: Options);
}
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/webpack
Credits
These definitions were written by Max Boguslavskiy.