Description
Bug Report or Feature Request (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [X ] feature request
Versions.
@angular/cli: 1.5.0 and beyond
Desired functionality.
For reasons described in #5275, dynamic compilation of components is possible in JIT mode but not in AOT. In order to support dynamic compilation, per comment in link below, I have been using the --no-aot flag to JIT build for production.
With the upcoming plans for --aot by default in cli v.1.5.0 and beyond, I'd like to request/confirm continued support for the --no-aot flag for ng serve / ng build
Mention any other details that might be useful.
Use case - for a commercial enterprise app scenario, where bandwidth is cheap and development resources hard to come by, dynamic component compilation allows non-developers to build pages that are more complex than a typical "dashboard" but without requirement for a full-on development environment or permissions to push a new build. Dynamic component templates and class definitions would instead be stored in a database and loaded as needed, without risk of breaking the build. Typical case might be 90% AOT (the "built-in components") and 10% JIT compiled ("custom components")