Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fkolar committed Jul 28, 2017
1 parent feaf7ad commit ce941b6
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ But if build your app without `ng` just with `ngc`, then output is as expected.
npm run build:aot
```
Then check the `out-aot/build.js` and all `__decorators` meta are remove and replaced with
Then check the `out-aot/build.js` and all `__decorators` meta are removed and replaced with
static properties describing the meta.
```ts
Expand Down Expand Up @@ -131,5 +131,20 @@ So NGC already does it for us, so why to have additional steps in the `@ngtools/
to remove everything and then re-add `ctorParameters`
I think it simply must work even for NG. Could it be just timing where you remove decorators before
it comes to ngc or something similar ? Somewhere inside you
Also if you notice inside `tsconfig.app-aot-step2.json` I dont even specify
```json
"annotationsAs": "static fields"
```
it seems to be default behavior when
```
"skipMetadataEmit" : false
```
or is missing.

0 comments on commit ce941b6

Please sign in to comment.