Move config out of statics path
Since static path is providing with a high expiration data, we provide configs via API. This shouldn't add any noticeable load while making it uncached and this way working again. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<script src="<%= webpackConfig.output.baseUrl %>/build/constant.js"></script>
|
||||
<script src="<%= webpackConfig.output.baseUrl %>/config"></script>
|
||||
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
|
||||
<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.chunks[chunk].entry %>" defer></script>
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user