mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Add rootContext to webpack types (#29242)
This commit is contained in:
committed by
John Reilly
parent
5b0522b4af
commit
e85b49361b
Vendored
+5
@@ -1578,6 +1578,11 @@ declare namespace webpack {
|
||||
*/
|
||||
context: string;
|
||||
|
||||
/**
|
||||
* Starting with webpack 4, the formerly `this.options.context` is provided as `this.rootContext`.
|
||||
*/
|
||||
rootContext: string;
|
||||
|
||||
/**
|
||||
* The resolved request string.
|
||||
* In the example: "/abc/loader1.js?xyz!/abc/node_modules/loader2/index.js!/abc/resource.js?rrr"
|
||||
|
||||
Reference in New Issue
Block a user