mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
To provide support for HMR of inline component styles (`styles` decorator field), the AOT compiler will now use the resource host transformation API with the Angular CLI to provide external runtime stylesheet URLs when the `externalRuntimeStyles` compiler option is enabled. This allows both a component's file-based and inline styles to be available for HMR when used with a compatible development server such as with the Angular CLI. No behavioral change is present if the `externalRuntimeStyles` option is not enabled or the resource host transformation API is not used. An `order` numeric field is also added to the transformation API which allows consumers such as the Angular CLI to create identifiers for each inline style in a specific containing file. PR Close #57613 |
||
|---|---|---|
| .. | ||
| bin | ||
| ngtsc | ||
| transformers | ||
| extract_i18n.ts | ||
| main.ts | ||
| perform_compile.ts | ||
| perform_watch.ts | ||
| typescript_support.ts | ||
| version.ts | ||
| version_helpers.ts | ||