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} }); `;