We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bd1fa2 commit 3159568Copy full SHA for 3159568
src/index.d.ts
@@ -0,0 +1,18 @@
1
+import { Compiler, WebpackPluginInstance } from 'webpack';
2
+
3
+interface IOptions {
4
+ enabled: boolean;
5
+ extensions: Array<string> | RegExp,
6
+ ignore: string | RegExp | string[] | RegExp[],
7
+ remove: RegExp,
8
+ verbose: boolean;
9
+}
10
11
+export type WebpackRemoveEmptyScriptsPluginOptions = Partial<IOptions>;
12
13
+declare class WebpackRemoveEmptyScriptsPlugin implements WebpackPluginInstance {
14
+ constructor(options: WebpackRemoveEmptyScriptsPluginOptions);
15
+ apply(compiler: Compiler): void;
16
17
18
+export default WebpackRemoveEmptyScriptsPlugin;
0 commit comments