diff options
author | Christoph (Sheogorath) Kern | 2018-10-16 13:31:08 +0200 |
---|---|---|
committer | GitHub | 2018-10-16 13:31:08 +0200 |
commit | dba56b6f334bff259f5a6fc0dab2e5f2e8b13673 (patch) | |
tree | fde3b73575abbe74fc63bc95d7136b18341fef72 /public | |
parent | e47442c604fedbf09a6399a67f01ac648d3572b1 (diff) | |
parent | 6bce9ac5bf4d98f65f55621ea5073781328ba2a1 (diff) |
Merge pull request #1017 from MartB/master
Fix #1016: webpack include defect for scripts and header files.
Diffstat (limited to '')
-rw-r--r-- | public/views/includes/header.ejs | 2 | ||||
-rw-r--r-- | public/views/includes/scripts.ejs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/public/views/includes/header.ejs b/public/views/includes/header.ejs index 1e2e8988..942a89f9 100644 --- a/public/views/includes/header.ejs +++ b/public/views/includes/header.ejs @@ -1,3 +1,3 @@ <% for (var css in htmlWebpackPlugin.files.css) { %> -<link href="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.css[css].path %>" rel="stylesheet"> +<link href="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet"> <% } %> diff --git a/public/views/includes/scripts.ejs b/public/views/includes/scripts.ejs index 519bd86b..c4f5aa5a 100644 --- a/public/views/includes/scripts.ejs +++ b/public/views/includes/scripts.ejs @@ -1,4 +1,4 @@ <script src="<%= webpackConfig.output.baseUrl %>/config"></script> <% for (var js in htmlWebpackPlugin.files.js) { %> -<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.js[js].path %>" defer></script> +<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.js[js] %>" defer></script> <% } %> |