* Custom module resolver that maps specifiers starting with `@angular/` to the * local packages folder. This ensures that imports using the module name can be * resolved. Cross entry-point/package circular dependencies are already be detected * by Bazel, but in rare cases, the module name is used
(specifier)
| 25 | * by Bazel, but in rare cases, the module name is used for imports within entry-points. |
| 26 | */ |
| 27 | function resolveModule(specifier) { |
| 28 | if (specifier.startsWith('@angular/')) { |
| 29 | return path.join(__dirname, specifier.slice('@angular/'.length)); |
| 30 | } |
| 31 | return null; |
| 32 | } |
nothing calls this directly
no outgoing calls
no test coverage detected