esbuild-plugin-html icon indicating copy to clipboard operation
esbuild-plugin-html copied to clipboard

Disable force adding <html>, <head> and <body> tags into the output file when built with custom template

Open maks-afew opened this issue 2 years ago • 1 comments

Context: I am using this plugin to make a snippet (using a custom html-lodash template) that will be included in another main html file which already has <html>, <head> and <body> tags set, so I don't need those to be force added into my generated file.

Suggestions: make it controllable with a boolean setting in configuration, or disable it when using custom template.

maks-afew avatar Aug 07 '23 06:08 maks-afew

This could be solved by https://github.com/craftamap/esbuild-plugin-html/pull/56

craftamap avatar Apr 22 '24 20:04 craftamap