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 dd0a81e commit cea40eeCopy full SHA for cea40ee
index.d.ts
@@ -1,12 +1,8 @@
1
import { Compiler } from "webpack"
2
3
declare namespace NodePolyfillPlugin {
4
- export interface Options {
5
- /**
6
- Aliases to skip adding. Useful if you don't want a module like `console` to be polyfilled.
7
- */
8
- excludeAliases?: readonly Array<
9
- | "Buffer"
+ export type Alias =
+ | "Buffer"
10
| "console"
11
| "process"
12
| "assert"
@@ -37,7 +33,13 @@ declare namespace NodePolyfillPlugin {
37
33
| "util"
38
34
| "vm"
39
35
| "zlib"
40
- >
36
+
+ export interface Options {
+ /**
+ Aliases to skip adding. Useful if you don't want a module like `console` to be polyfilled.
41
+ */
42
+ excludeAliases?: readonly Alias[]
43
}
44
45
0 commit comments