From 6b28d3ac51f226f6f7fc6065de9d5f2db72302d1 Mon Sep 17 00:00:00 2001 From: Charles Lyding <19598772+clydin@users.noreply.github.com> Date: Mon, 20 May 2019 20:11:04 -0400 Subject: [PATCH] fix(@schematics/angular): remove `emitDecoratorMetadata` TS option for new applications --- .../schematics/angular/library/files/tsconfig.lib.json.template | 1 + .../schematics/angular/workspace/files/tsconfig.json.template | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/schematics/angular/library/files/tsconfig.lib.json.template b/packages/schematics/angular/library/files/tsconfig.lib.json.template index 730ff84bbe..30e37f49ec 100644 --- a/packages/schematics/angular/library/files/tsconfig.lib.json.template +++ b/packages/schematics/angular/library/files/tsconfig.lib.json.template @@ -3,6 +3,7 @@ "compilerOptions": { "outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/lib", "target": "es2015", + "emitDecoratorMetadata": true, "declaration": true, "inlineSources": true, "types": [], diff --git a/packages/schematics/angular/workspace/files/tsconfig.json.template b/packages/schematics/angular/workspace/files/tsconfig.json.template index 6ec9ceb174..1e35a04fa9 100644 --- a/packages/schematics/angular/workspace/files/tsconfig.json.template +++ b/packages/schematics/angular/workspace/files/tsconfig.json.template @@ -7,7 +7,6 @@ "declaration": false, "module": "esnext", "moduleResolution": "node", - "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, "target": "es2015",