% for (var i=0; i < htmlWebpackPlugin.files.css.length; i++) { var file = htmlWebpackPlugin.files.css[i]; if (file.match(/^theme-(?!light\.)/)) { %> <% } else { %> <% } } %>