docs: add explanation for `enableResourceInlining` (#24644)

PR Close #24644
This commit is contained in:
Alan Agius 2018-06-27 18:29:42 +02:00 committed by Jason Aden
parent 6d68f3e39a
commit 32da3e1602
1 changed files with 8 additions and 5 deletions

View File

@ -97,6 +97,9 @@ You can control your app compilation by providing template compiler options in t
}
}
```
### *enableResourceInlining*
This options tell the compiler to replace the `templateUrl` and `styleUrls` property in all `@Component` decorators with inlined contents in `template` and `styles` properties.
When enabled, the `.js` output of ngc will have no lazy-loaded `templateUrl` or `styleUrls`.
### *skipMetadataEmit*