index.ejs 618 B

1234567891011121314151617181920
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>vedio_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. <script>
  16. if (process.env.NODE_ENV !== 'development') window.__static = require('path').join(__dirname, '/static').replace(/\\/g, '\\\\')
  17. </script>
  18. </body>
  19. </html>