Merge pull request #14966 from tamuratak/use_globalthis

Use globalThis for webpack's output.globalObject instead of this
This commit is contained in:
Jonas Jenwald 2022-05-29 11:31:15 +02:00 committed by GitHub
commit 0d3a5d7a9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,7 +230,7 @@ function createWebpackConfig(
} }
// Required to expose e.g., the `window` object. // Required to expose e.g., the `window` object.
output.globalObject = "this"; output.globalObject = "globalThis";
return { return {
mode: "none", mode: "none",