(spec: string)
| 169 | } |
| 170 | |
| 171 | export function isPathPluginSpec(spec: string) { |
| 172 | return spec.startsWith("file://") || spec.startsWith(".") || isAbsolutePath(spec) |
| 173 | } |
| 174 | |
| 175 | export async function resolvePathPluginTarget(spec: string) { |
| 176 | const raw = spec.startsWith("file://") ? fileURLToPath(spec) : spec |
no test coverage detected