mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ function createWebpackConfig(
|
|||
}
|
||||
|
||||
// Required to expose e.g., the `window` object.
|
||||
output.globalObject = "this";
|
||||
output.globalObject = "globalThis";
|
||||
|
||||
return {
|
||||
mode: "none",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue