mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
#242: use dll plugin in development mode
This commit is contained in:
@@ -19,6 +19,15 @@
|
||||
<% for (var css in htmlWebpackPlugin.files.css) { %>
|
||||
<link href="<%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet">
|
||||
<% } %>
|
||||
|
||||
<% if (htmlWebpackPlugin.options.scripts) {
|
||||
htmlWebpackPlugin.options.scripts.forEach(function(scriptSrc) {
|
||||
%>
|
||||
<script src="<%= scriptSrc %>"></script>
|
||||
<%
|
||||
});
|
||||
} %>
|
||||
|
||||
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
|
||||
<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
|
||||
<% } %>
|
||||
|
Reference in New Issue
Block a user