(from: string, to: string | undefined)
| 52 | } |
| 53 | |
| 54 | resolveEsm(from: string, to: string | undefined): string { |
| 55 | if (!to) return from; |
| 56 | return this.resolveCached(from, to, this.esmCache, this.esmConditions); |
| 57 | } |
| 58 | |
| 59 | resolveEsmAsync(from: string, to: string | undefined): Promise<string> { |
| 60 | if (!to) return Promise.resolve(from); |
no test coverage detected