1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-15 02:14:11 +01:00
Whalebird-desktop-client-ma.../src/index.ejs
2019-11-26 22:27:48 +09:00

23 lines
677 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Whalebird</title>
<% if (htmlWebpackPlugin.options.nodeModules) { %>
<!-- Add `node_modules/` to global paths so `require` works properly in development -->
<script>
window.mod.globalPaths.push('<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>')
</script>
<% } %>
</head>
<body>
<div id="app"></div>
<!-- Set `__static` path to static files in production -->
<script>
if (window.node_env !== 'development') window.__static = window.static_path
</script>
<!-- webpack builds are automatically injected -->
</body>
</html>