<% if (htmlWebpackPlugin.options.config.isProd) { %> <% } %> <% preact.headEnd %>

Guess what

<%= htmlWebpackPlugin.options.ssr({ url: '/' }) %> <% preact.bodyEnd %>