(specifier: string)
| 54 | * a global import from npm or a URL. Local paths start with ./, ../, or /. |
| 55 | */ |
| 56 | export function isPathImport(specifier: string): boolean { |
| 57 | return ["./", "../", "/"].some((prefix) => specifier.startsWith(prefix)); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Like isPathImport, but more lax; this is used to detect when an HTML element |
no outgoing calls
no test coverage detected