From 448b0061945b65dc36c08eaf6752060600d5895d Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Mon, 20 Mar 2017 01:39:09 +0800
Subject: Update to generate front-end constants on server startup
To avoid extra webpacking on changing configs and follow the 12 factor app
---
public/views/includes/scripts.ejs | 1 +
1 file changed, 1 insertion(+)
(limited to 'public/views')
diff --git a/public/views/includes/scripts.ejs b/public/views/includes/scripts.ejs
index 20d4003a..8766894a 100644
--- a/public/views/includes/scripts.ejs
+++ b/public/views/includes/scripts.ejs
@@ -1,3 +1,4 @@
+
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<% } %>
--
cgit v1.2.3