mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
An internal compiler option named `supportJitMode` is now available for use by the Angular CLI. This option currently controls the emit of NgModule selector scope information. This emitted information is only needed in AOT mode when an application also uses JIT. However, AOT mode combined with JIT mode is not currently supported nor will work in the Angular CLI. With the Angular CLI, JIT mode is only supported if the entire application is built in JIT mode. Without this option, the CLI needs to manually perform a code transform to remove the information and also replicate TypeScript's import eliding. This is can be a complicated operation and must be continually kept up to date with any changes to both the Angular compiler and TypeScript. The introduction of this new option alleviates these concerns while also removing several build time actions that would otherwise need to be performed on every application build. PR Close #51007 |
||
|---|---|---|
| .. | ||
| compliance | ||
| ngtsc | ||
| BUILD.bazel | ||
| downlevel_decorators_transform_spec.ts | ||
| extract_i18n_spec.ts | ||
| mocks.ts | ||
| perform_compile_spec.ts | ||
| perform_watch_spec.ts | ||
| test_support.ts | ||
| typescript_support_spec.ts | ||
| version_helpers_spec.ts | ||