web-webpack-plugin icon indicating copy to clipboard operation
web-webpack-plugin copied to clipboard

is there a way I can define a template without body,html tags?

Open vandriesh opened this issue 4 years ago • 0 comments

I have a template

#{extends 'main.html'/}

<div id="root"></div>

#{set 'reactScripts'}
<!--SCRIPT-->
#{/set}

so I'd like to have output.html

#{extends 'main.html'/}

<div id="root"></div>

#{set 'reactScripts'}
<script src="polyfills.ba39d5cf24f6f736654b.esm.js"></script>
<script src="main.af33690fade9e8d661fc.esm.js"></script>
#{/set}

without html/head/body wrapper tags.

Is it possible?

vandriesh avatar Mar 16 '21 10:03 vandriesh