Update UMD template to reflect new ternaries (#15670)
This commit is contained in:
1 parent
ba258537e3
commit
e31d2f92dd
1 file changed
+5
-5
@@ -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}
|
||||
});
|
||||
`;
|
||||
|
||||
Reference in new issue
Block a user