diff options
author | MartB | 2018-10-15 18:09:28 +0200 |
---|---|---|
committer | MartB | 2018-10-16 11:40:21 +0200 |
commit | 6bce9ac5bf4d98f65f55621ea5073781328ba2a1 (patch) | |
tree | fde3b73575abbe74fc63bc95d7136b18341fef72 /public/views | |
parent | e47442c604fedbf09a6399a67f01ac648d3572b1 (diff) |
Fix #1016: webpack include defect for scripts and header files.
Signed-off-by: MartB <mart.b@outlook.de>
Diffstat (limited to 'public/views')
-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> <% } %> |