% if (!htmlWebpackPlugin.options.lightweight) { %> <% } %> <% if (webpackConfig.mode == 'production') { %> <% if (!htmlWebpackPlugin.options.lightweight) { %> <% } %> <% } else { %> <% if (!htmlWebpackPlugin.options.lightweight) { %> <% } %> <% } %> <% if (!htmlWebpackPlugin.options.lightweight) { %> <% } %>