(specifier: string)
| 3191 | |
| 3192 | // a tool may leave a dependency external by the file it resolves to |
| 3193 | const externalPackageOf = (specifier: string): string => |
| 3194 | isAbsolute(specifier) ? |
| 3195 | (dependencyOf(specifier)?.[1] ?? specifier) |
| 3196 | : packageNameOf(specifier) |
| 3197 | |
| 3198 | // Rolldown's module info has no isExternal, but no code for an external |
| 3199 | const rollupBundleOf = (context: RollupContext): BundleModules => { |
no test coverage detected