-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
Description
When inject is true, it works.
new HtmlWebpackPlugin({
minify : false,
filename,
inlineSource : '.(js|css)$',
})I want to use template to control the position of script.
new HtmlWebpackPlugin({
minify : false,
inject : false,
filename,
template,
inlineSource : '.(js|css)$',
})And the template like this,
<% for (key in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[key].entry %>" type="text/javascript"></script>
<% } %>And which attribute is the source ?