<% if (htmlWebpackPlugin.options.ctx.mode.pwa) { %> <% } %> <%= htmlWebpackPlugin.options.headScripts %> <% if (!['cordova', 'electron'].includes(htmlWebpackPlugin.options.ctx.modeName) && htmlWebpackPlugin.options.ctx.prod) { for (var chunk of webpack.chunks) { for (var file of chunk.files) { if (file.match(/\.(js|css)$/)) { %> <% }}}} %> <% if (!htmlWebpackPlugin.options.ctx.mode.electron) { %> <% } %>
<%= htmlWebpackPlugin.options.bodyScripts %>