mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-03 03:28:13 -05:00
23 lines
732 B
Plaintext
23 lines
732 B
Plaintext
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>PicGo</title>
|
||
|
<% if (htmlWebpackPlugin.options.nodeModules) { %>
|
||
|
<!-- Add `node_modules/` to global paths so `require` works properly in development -->
|
||
|
<script>
|
||
|
require('module').globalPaths.push("<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>")
|
||
|
</script>
|
||
|
<% } %>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="app"></div>
|
||
|
<!-- Set `__static` path to static files in production -->
|
||
|
<script>
|
||
|
if (process.env.NODE_ENV !== 'development') window.__static = require('path').join(__dirname, '/static').replace(/\\/g, '\\\\')
|
||
|
</script>
|
||
|
|
||
|
<!-- webpack builds are automatically injected -->
|
||
|
</body>
|
||
|
</html>
|