(pkg: string, subpath: string)
| 109 | } |
| 110 | |
| 111 | export function downloadedBinPath(pkg: string, subpath: string): string { |
| 112 | const esbuildLibDir = path.dirname(require.resolve('esbuild')) |
| 113 | return path.join(esbuildLibDir, `downloaded-${pkg.replace('/', '-')}-${path.basename(subpath)}`) |
| 114 | } |
| 115 | |
| 116 | export function generateBinPath(): { binPath: string, isWASM: boolean } { |
| 117 | // This feature was added to give external code a way to modify the binary |
no test coverage detected
searching dependent graphs…