Fix: use correct identifier in template - fixes T7509 (#3602)

This commit is contained in:
Henry Zhu
2016-07-27 09:24:26 -04:00
committed by GitHub
parent 81f0f464e7
commit 0ff1f089bb
2 changed files with 2 additions and 2 deletions

View File

@@ -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];
}
`);