mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
For the HMR initializer block to support being used in a Vite setup with import analysis, the import call expression needs to be a runtime generated value and include the `@vite-ignore` special comment. Without the first, Vite will error prior to loading the application. Without the second, a warning will be shown for each import which is effectively each component within the application when HMR is enabled. PR Close #58173 |
||
|---|---|---|
| .. | ||
| compliance | ||
| ngtsc | ||
| BUILD.bazel | ||
| 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 | ||