% for (var chunk of webpack.chunks) { %> <% for (var file of chunk.files) { %> <% if (file.match(/\.(js|css)$/)) { %> <% } %> <% } %> <% } %>