diff --git a/gulpfile.mjs b/gulpfile.mjs index 19db9530350b6..be856819e0c5f 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -378,9 +378,6 @@ function createWebpackConfig( const alias = createWebpackAlias(bundleDefines); const experiments = isModule ? { outputModule: true } : undefined; - // Required to expose e.g., the `window` object. - output.globalObject = "globalThis"; - return { mode: "production", optimization: {