esbuild-server icon indicating copy to clipboard operation
esbuild-server copied to clipboard

onHtmlSend option callback

Open klasjersevi opened this issue 1 year ago • 1 comments

Option callback to modify the html response before sending it. Useful for injecting variables or changing content dynamically.

Solving #10

klasjersevi avatar Sep 05 '23 07:09 klasjersevi

Thanks for your PR! I'm on vacation right now so will take some time for me to merge and release, but could you do the indexHtml approach instead of a callback like i suggested in the issue?

oblador avatar Sep 05 '23 10:09 oblador