Merge pull request #14966 from tamuratak/use_globalthis
Use globalThis for webpack's output.globalObject instead of this
This commit is contained in:
commit
0d3a5d7a9e
@ -230,7 +230,7 @@ function createWebpackConfig(
|
||||
}
|
||||
|
||||
// Required to expose e.g., the `window` object.
|
||||
output.globalObject = "this";
|
||||
output.globalObject = "globalThis";
|
||||
|
||||
return {
|
||||
mode: "none",
|
||||
|
Loading…
Reference in New Issue
Block a user