(m: EsbuildMessage, code: string)
| 513 | } |
| 514 | |
| 515 | function prettifyMessage(m: EsbuildMessage, code: string): string { |
| 516 | let res = colors.yellow(m.text) |
| 517 | if (m.location) { |
| 518 | res += `\n` + generateCodeFrame(code, m.location) |
| 519 | } |
| 520 | return res + `\n` |
| 521 | } |
| 522 | |
| 523 | let globalTSConfigResolutionCache: TsconfigCache | undefined |
| 524 | const tsconfigResolutionCacheMap = new WeakMap<ResolvedConfig, TsconfigCache>() |
no test coverage detected