* Actually performs the steps to compile the entry point. * @param {object} options * @return {Promise }
(options)
| 551 | * @return {Promise<void>} |
| 552 | */ |
| 553 | async function doCompileJs(options) { |
| 554 | const buildResult = esbuildCompile(srcDir, srcFilename, destDir, options); |
| 555 | if (options.onWatchBuild) { |
| 556 | options.onWatchBuild(buildResult); |
| 557 | } |
| 558 | await buildResult; |
| 559 | } |
| 560 | |
| 561 | await doCompileJs(options); |
| 562 | } |
no test coverage detected