add __moduleName to System.register

This commit is contained in:
Guy Bedford 2015-12-14 18:01:55 +02:00
parent 87036fe9f7
commit f0a8bf566c

View file

@ -6992,7 +6992,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
write(text);
}
write(`], function(${exportFunctionForFile}) {`);
write(`], function(${exportFunctionForFile}, __moduleName) {`);
writeLine();
increaseIndent();
const startIndex = emitDirectivePrologues(node.statements, /*startWithNewLine*/ true, /*ensureUseStrict*/ true);