From e31d2f92dd0ba7fc42d2a3eccc74fc705beafbf9 Mon Sep 17 00:00:00 2001 From: Klaus Hott Vidal Date: Fri, 17 Nov 2023 19:11:43 +1300 Subject: [PATCH] Update UMD template to reflect new ternaries (#15670) --- scripts/build/esbuild-plugins/umd.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/build/esbuild-plugins/umd.js b/scripts/build/esbuild-plugins/umd.js index de7da7294..3d309a94e 100644 --- a/scripts/build/esbuild-plugins/umd.js +++ b/scripts/build/esbuild-plugins/umd.js @@ -37,13 +37,13 @@ function getUmdWrapper({ name }, build) { typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" - ? global - : typeof self !== "undefined" - ? self - : this || {}; + ? global + : typeof self !== "undefined" + ? self + : this || {}; ${globalObjectText.trimStart()} = interopModuleDefault(); } - })(function() { + })(function () { "use strict";${PLACEHOLDER} }); `;