Skip to content

Commit 1f7493d

Browse files
committed
fix(@schematics/angular): fix lib flatModule options
These two options not being there breaks AOT builds on consuming apps.
1 parent 58154c9 commit 1f7493d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"skipTemplateCodegen": true,
2323
"strictMetadataEmit": true,
2424
"fullTemplateTypeCheck": true,
25-
"strictInjectionParameters": true
25+
"strictInjectionParameters": true,
26+
"flatModuleId": "AUTOGENERATED",
27+
"flatModuleOutFile": "AUTOGENERATED"
2628
},
2729
"exclude": [
2830
"src/test.ts",

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
"skipTemplateCodegen": true,
2020
"strictMetadataEmit": true,
2121
"fullTemplateTypeCheck": true,
22-
"strictInjectionParameters": true
22+
"strictInjectionParameters": true,
23+
"flatModuleId": "AUTOGENERATED",
24+
"flatModuleOutFile": "AUTOGENERATED"
2325
},
2426
"exclude": [
2527
"src/test.ts",

0 commit comments

Comments
 (0)