build(aio): fix plunker for custom plunkers (#21291)

PR Close #21291
This commit is contained in:
Jesus Rodriguez 2018-01-03 21:53:22 +01:00 committed by Kara Erickson
parent 4f1a571ba6
commit 24df08efc7
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ class PlunkerBuilder {
// Matches main.ts or main.1.ts
if (/^main(?:[.-]\w+)?\.ts$/.test(relativeFileName)) {
content = fileTranslator.translate(content, mainTsRules);
relativeFileName = 'main.ts';
}
if (relativeFileName == 'systemjs.config.extras.js') {