* Custom module resolver that maps specifiers starting with `@angular/` to the * local packages folder. This ensures that cross package/entry-point dependencies * can be detected.
(specifier)
| 21 | * can be detected. |
| 22 | */ |
| 23 | function resolveModule(specifier) { |
| 24 | if (specifier.startsWith('@angular/')) { |
| 25 | return path.join(__dirname, specifier.slice('@angular/'.length)); |
| 26 | } |
| 27 | return null; |
| 28 | } |