diff options
Diffstat (limited to 'public/views/includes')
-rw-r--r-- | public/views/includes/scripts.ejs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/views/includes/scripts.ejs b/public/views/includes/scripts.ejs index df8fbc00..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 chunk in htmlWebpackPlugin.files.chunks) { %> -<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.chunks[chunk].entry %>" defer></script> +<% for (var js in htmlWebpackPlugin.files.js) { %> +<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.js[js] %>" defer></script> <% } %> |