Fix: use correct identifier in template - fixes T7509 (#3602)
This commit is contained in:
@@ -18,7 +18,7 @@ let buildTemplate = template(`
|
||||
|
||||
let buildExportAll = template(`
|
||||
for (var KEY in TARGET) {
|
||||
if (KEY !== "default" && key !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];
|
||||
if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];
|
||||
}
|
||||
`);
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ System.register(["foo"], function (_export, _context) {
|
||||
var _exportObj = {};
|
||||
|
||||
for (var _key in _foo) {
|
||||
if (_key !== "default" && key !== "__esModule") _exportObj[_key] = _foo[_key];
|
||||
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _foo[_key];
|
||||
}
|
||||
|
||||
_exportObj.foo = _foo.foo;
|
||||
|
||||
Reference in New Issue
Block a user