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 css in htmlWebpackPlugin.files.css) { %>
<link href="<%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet">
<link href="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet">
<% } %>