Skip to content

Commit ce941b6

Browse files
committed
1 parent feaf7ad commit ce941b6

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ But if build your app without `ng` just with `ngc`, then output is as expected.
9292
npm run build:aot
9393
```
9494
95-
Then check the `out-aot/build.js` and all `__decorators` meta are remove and replaced with
95+
Then check the `out-aot/build.js` and all `__decorators` meta are removed and replaced with
9696
static properties describing the meta.
9797
9898
```ts
@@ -131,5 +131,20 @@ So NGC already does it for us, so why to have additional steps in the `@ngtools/
131131
to remove everything and then re-add `ctorParameters`
132132
133133
134-
134+
I think it simply must work even for NG. Could it be just timing where you remove decorators before
135+
it comes to ngc or something similar ? Somewhere inside you
136+
137+
Also if you notice inside `tsconfig.app-aot-step2.json` I dont even specify
138+
139+
```json
140+
"annotationsAs": "static fields"
141+
```
142+
143+
it seems to be default behavior when
144+
145+
```
146+
"skipMetadataEmit" : false
147+
```
148+
149+
or is missing.
135150

0 commit comments

Comments
 (0)