Permalink
Browse files

Fix #1016: webpack include defect for scripts and header files.

Signed-off-by: MartB <mart.b@outlook.de>
  • Loading branch information...
MartB committed Oct 15, 2018
1 parent e47442c commit 6bce9ac5bf4d98f65f55621ea5073781328ba2a1
Showing with 48 additions and 39 deletions.
  1. +1 −1 package.json
  2. +1 −1 public/views/includes/header.ejs
  3. +1 −1 public/views/includes/scripts.ejs
  4. +45 −36 yarn.lock
View
@@ -172,7 +172,7 @@
"exports-loader": "^0.7.0",
"expose-loader": "^0.7.5",
"file-loader": "^2.0.0",
"html-webpack-plugin": "^4.0.0-alpha",
"html-webpack-plugin": "4.0.0-beta.2",
"imports-loader": "^0.8.0",
"jsonlint": "^1.6.2",
"less": "^2.7.1",
@@ -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">
<% } %>
@@ -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>
<% } %>
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 6bce9ac

Please sign in to comment.