transformAngularFile does not report external templateUrl/styleUrls files as resource dependencies.
Repro
Compile a component with templateUrl: './x.html' — result.dependencies comes back [].
Expected
External resource paths are listed so the Vite plugin can register them as watch dependencies.
Impact
HMR/rebuild silently misses edits to external .html/.css files.
Researched and drafted with Claude Code.
transformAngularFiledoes not report externaltemplateUrl/styleUrlsfiles as resource dependencies.Repro
Compile a component with
templateUrl: './x.html'—result.dependenciescomes back[].Expected
External resource paths are listed so the Vite plugin can register them as watch dependencies.
Impact
HMR/rebuild silently misses edits to external
.html/.cssfiles.Researched and drafted with Claude Code.