index.ejs 459 B

12345678910111213141516
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>electron-app</title>
  6. <% if (htmlWebpackPlugin.options.nodeModules) { %>
  7. <!-- Add `node_modules/` to global paths so `require` works properly in development -->
  8. <script>
  9. require('module').globalPaths.push('<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>')
  10. </script>
  11. <% } %>
  12. </head>
  13. <body>
  14. <div id="app"></div>
  15. </body>
  16. </html>