Fix the generate template not including base url variable

This commit is contained in:
Wu Cheng-Han 2016-12-12 12:19:12 +08:00
parent 38505491ae
commit 62c703baa1
3 changed files with 4 additions and 3 deletions

View file

@ -1,3 +1,3 @@
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>" defer></script>
<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.chunks[chunk].entry %>" defer></script>
<% } %>