Skip to content

Commit b74643d

Browse files
clydinmgechev
authored andcommitted
fix(@schematics/angular): remove emitDecoratorMetadata TS option for new applications
1 parent ca5d8b1 commit b74643d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/schematics/angular/library/files/tsconfig.lib.json.template

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"compilerOptions": {
44
"outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/lib",
55
"target": "es2015",
6+
"emitDecoratorMetadata": true,
67
"declaration": true,
78
"inlineSources": true,
89
"types": [],

packages/schematics/angular/workspace/files/tsconfig.json.template

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"sourceMap": true,
77
"declaration": false,
88
"downlevelIteration": true,
9-
"emitDecoratorMetadata": true,
9+
"module": "esnext",
10+
"moduleResolution": "node",
1011
"experimentalDecorators": true,
1112
"module": "esnext",
1213
"moduleResolution": "node",

0 commit comments

Comments
 (0)