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 |
||
|---|---|---|
| .. | ||
| design | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| compiler.ts | ||
| index.ts | ||
| package.json | ||
| public_api.ts | ||