(importer: string, file: string)
| 646 | } |
| 647 | |
| 648 | export const specifierOf = (importer: string, file: string): string => { |
| 649 | const path = relative(dirname(importer), file).split("\\").join("/") |
| 650 | return /^\.\.?(?:\/|$)/.test(path) ? path : `./${path}` |
| 651 | } |