Skip to content

Commit 6ae1752

Browse files
alan-agius4hansl
authored andcommitted
feat(@schematics/angular): remove annotateForClosureCompiler in libraries tsconfig (#13546)
Users outside of Google don't usually need closure annotations. We should also follow up with ng-packagr to remove tsickle from peerDependency and afterwards, we be able to remove tsickle from the added dependencies when running this schematic
1 parent 08e2483 commit 6ae1752

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
]
1919
},
2020
"angularCompilerOptions": {
21-
"annotateForClosureCompiler": true,
2221
"skipTemplateCodegen": true,
2322
"strictMetadataEmit": true,
2423
"fullTemplateTypeCheck": true,

tests/angular_devkit/build_ng_packagr/ng-packaged/projects/lib/tsconfig.lib.json

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
]
1717
},
1818
"angularCompilerOptions": {
19-
"annotateForClosureCompiler": true,
2019
"skipTemplateCodegen": true,
2120
"strictMetadataEmit": true,
2221
"fullTemplateTypeCheck": true,

0 commit comments

Comments
 (0)