diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-09-30 18:51:19 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 18:51:19 +1000 |
commit | 23a7ea9c8548d46f16862fde6d9e96a215a9e01a (patch) | |
tree | c81de51cbfa0e23e7284ec2d12d882553993f194 /cli/system_loader_es5.js | |
parent | 7c62b7b0434314fee1355ccfa2a95aea2a9cc01e (diff) |
fix: bundle loader returns exported value (#7764)
Fixes: #7761
Diffstat (limited to 'cli/system_loader_es5.js')
-rw-r--r-- | cli/system_loader_es5.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/system_loader_es5.js b/cli/system_loader_es5.js index 91bae136a..0970e8305 100644 --- a/cli/system_loader_es5.js +++ b/cli/system_loader_es5.js @@ -94,8 +94,8 @@ var System, __instantiate; function gE(exp) { return function (id, v) { var _a; - v = typeof id === "string" ? ((_a = {}), (_a[id] = v), _a) : id; - for (var _i = 0, _b = Object.entries(v); _i < _b.length; _i++) { + var e = typeof id === "string" ? ((_a = {}), (_a[id] = v), _a) : id; + for (var _i = 0, _b = Object.entries(e); _i < _b.length; _i++) { var _c = _b[_i], id_1 = _c[0], value = _c[1]; @@ -105,6 +105,7 @@ var System, __instantiate; enumerable: true, }); } + return v; }; } function rF(main) { |