HackMD/public/views/includes/scripts.ejs
Yukai Huang 401cef8fb3 Experimental webpack 2
html-webpack-plugin chunks be changed to alphabetic order
2017-02-19 15:45:27 +08:00

3 lines
170 B
Text

<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= '\<\%- url \%\>' %><%= htmlWebpackPlugin.files.chunks[chunk].entry %>" defer></script>
<% } %>