index.html 474 B

12345678910111213141516
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title><%= htmlWebpackPlugin.options.title %></title>
  6. <% for (let css in htmlWebpackPlugin.files.css) { %>
  7. <link href="<%=htmlWebpackPlugin.files.css[css] %>" rel="stylesheet">
  8. <% } %>
  9. </head>
  10. <body>
  11. <div id="container" class="container"></div>
  12. <% for (let chunk in htmlWebpackPlugin.files.chunks) { %>
  13. <script src="<%=htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
  14. <% } %>
  15. </body>
  16. </html>