(id: string)
| 3200 | const bundle: BundleModules = { externals: [], files: [], importerOf: {} } |
| 3201 | const seen = new Set<string>() |
| 3202 | const add = (id: string) => { |
| 3203 | if (seen.has(id)) return |
| 3204 | seen.add(id) |
| 3205 | const info = context.getModuleInfo(id) |
| 3206 | if (!info || (info.isExternal ?? info.code === null)) |
| 3207 | bundle.externals.push(id) |
| 3208 | else bundle.files.push(id) |
| 3209 | } |
| 3210 | for (const id of context.getModuleIds()) { |
| 3211 | add(id) |
| 3212 | const info = context.getModuleInfo(id) |
no test coverage detected