We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 634f761 commit 6188d2fCopy full SHA for 6188d2f
src/core/env.ts
@@ -15,7 +15,7 @@
15
*---------------------------------------------------------------------------------------------
16
*--------------------------------------------------------------------------------------------*/
17
18
-const _amdLoaderGlobal = this;
+const _amdLoaderGlobal = this ?? globalThis;
19
20
declare var module: {
21
exports: any;
0 commit comments