448b006194
To avoid extra webpacking on changing configs and follow the 12 factor app
4 lines
260 B
Text
4 lines
260 B
Text
<script src="<%= webpackConfig.output.baseUrl %>/build/constant.js"></script>
|
|
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
|
|
<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.chunks[chunk].entry %>" defer></script>
|
|
<% } %>
|