diff --git a/gulpfile.js b/gulpfile.js index f40f1771a91ee..ffc508355cada 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -230,7 +230,7 @@ function createWebpackConfig( } // Required to expose e.g., the `window` object. - output.globalObject = "this"; + output.globalObject = "globalThis"; return { mode: "none",