diff --git a/src/aot/utils.ts b/src/aot/utils.ts index 81065bc6..d8c46f8a 100644 --- a/src/aot/utils.ts +++ b/src/aot/utils.ts @@ -96,7 +96,7 @@ function getPlatformBrowserFunctionNode(filePath: string, fileContent: string) { modifiedFileContent = appendBefore(filePath, modifiedFileContent, callsToPlatformBrowser[0].expression, toAppend); } else { // just throw it at the bottom - modifiedFileContent + toAppend; + modifiedFileContent += toAppend; } return modifiedFileContent; }