Skip to content

Commit

Permalink
Use globalThis for webpack's output.globalObject instead of this. Close
Browse files Browse the repository at this point in the history
  • Loading branch information
tamuratak committed May 29, 2022
1 parent 9bdf27e commit 10932e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function createWebpackConfig(
}

// Required to expose e.g., the `window` object.
output.globalObject = "this";
output.globalObject = "globalThis";

return {
mode: "none",
Expand Down

0 comments on commit 10932e3

Please sign in to comment.