Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/aot/aot-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,11 @@ export class AotCompiler {
.then(() => {
const tsFiles = this.context.fileCache.getAll().filter(file => extname(file.path) === '.ts' && file.path.indexOf('.d.ts') === -1);
for (const tsFile of tsFiles) {
const cleanedFileContent = removeDecorators(tsFile.path, tsFile.content);
tsFile.content = cleanedFileContent;
// Temporary fix to keep custom decorators until a
// proper resolution can be found.
/*const cleanedFileContent = removeDecorators(tsFile.path, tsFile.content);
tsFile.content = cleanedFileContent;*/
const cleanedFileContent = tsFile.content;
const transpileOutput = this.transpileFileContent(tsFile.path, cleanedFileContent, this.tsConfig.parsed.options);
const diagnostics = runTypeScriptDiagnostics(this.context, transpileOutput.diagnostics);
if (diagnostics.length) {
Expand Down