mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Currently when Tsurge runs in g3, it creates a bare bones Angular compiler plugin. The tsconfigs from compilation units may set options like "useHostForImportGeneration", but the Ngtsc logic doesn't enable because the `fileNameToModuleName` method is not defined on the host. This can break reference emission for Tsurge analyzers/programs and result in subtle differences to real `ng_module` compilations. This commit fixes this by making the method available in 1P Tsurge. Notably, reference emission can occur during analysis— so even if migrations aren't "emitting TS -> JS" output. PR Close #62447 |
||
|---|---|---|
| .. | ||
| global | ||
| primitives | ||
| rxjs-interop | ||
| schematics | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||
| tsconfig-build.json | ||
| tsconfig-test.json | ||