Update UMD template to reflect new ternaries (#15670)

This commit is contained in:
Klaus Hott Vidal authored and GitHub committed 2023-11-17 14:11:43 +08:00
1 parent ba258537e3
commit e31d2f92dd
1 file changed
+5 -5
+5 -5
View File
@@ -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}
});
`;