(warnings)
| 230 | }, |
| 231 | |
| 232 | UNRESOLVED_IMPORT(warnings) { |
| 233 | title('Unresolved dependencies'); |
| 234 | info(getRollupUrl(URL_TREATING_MODULE_AS_EXTERNAL_DEPENDENCY)); |
| 235 | |
| 236 | const dependencies = new Map<string, string[]>(); |
| 237 | for (const warning of warnings) { |
| 238 | getOrCreate(dependencies, relativeId(warning.exporter!), getNewArray).push( |
| 239 | relativeId(warning.id!) |
| 240 | ); |
| 241 | } |
| 242 | |
| 243 | for (const [dependency, importers] of dependencies) { |
| 244 | stderr(`${bold(dependency)} (imported by ${printQuotedStringList(importers)})`); |
| 245 | } |
| 246 | }, |
| 247 | |
| 248 | UNUSED_EXTERNAL_IMPORT(warnings) { |
| 249 | title('Unused external imports'); |
nothing calls this directly
no test coverage detected
searching dependent graphs…