Added template logic
This commit is contained in:
parent
a4f88fee78
commit
37ffe49cdc
|
@ -2,9 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Three.js Webpack ES6 Boilerplate</title>
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="assets/css/app.css">
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -12,8 +10,10 @@
|
||||||
<div id="loading">Loading...</div>
|
<div id="loading">Loading...</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<script src="assets/js/rStats.js"></script>
|
<% if (htmlWebpackPlugin.options.env === 'dev') { %>
|
||||||
<script src="assets/js/rStats.extras.js"></script>
|
<script src="js/rStats.js"></script>
|
||||||
<script src="assets/js/dat.gui.min.js"></script>
|
<script src="js/rStats.extras.js"></script>
|
||||||
|
<script src="js/dat.gui.min.js"></script>
|
||||||
|
<% } %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue