mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-15 22:34:55 +08:00
Merge pull request #17527 from donaldpipowitch/patch-9
enhance targets for webpack
This commit is contained in:
2
types/webpack/index.d.ts
vendored
2
types/webpack/index.d.ts
vendored
@@ -1215,7 +1215,7 @@ declare namespace webpack {
|
||||
* Target of compilation. Passed from configuration options.
|
||||
* Example values: "web", "node"
|
||||
*/
|
||||
target: 'web' | 'node' | string;
|
||||
target: 'web' | 'webworker' | 'async-node' | 'node' | 'electron-main' | 'electron-renderer' | 'node-webkit' | string;
|
||||
|
||||
/**
|
||||
* This boolean is set to true when this is compiled by webpack.
|
||||
|
||||
Reference in New Issue
Block a user