webpack: Improve comment on HtmlWebpackPlugin

pull/2515/head
Richard van der Hoff 2016-10-26 16:52:26 +01:00
parent c19538d6ce
commit 31ed719df1
1 changed files with 6 additions and 1 deletions

View File

@ -92,7 +92,12 @@ module.exports = {
new HtmlWebpackPlugin({
template: './src/vector/index.html',
inject: false, // we inject the links ourselves via the template
// we inject the links ourselves via the template, because
// HtmlWebpackPlugin wants to put the script tags either at the
// bottom of <head> or the bottom of <body>, and I'm a bit scared
// about moving them.
inject: false,
}),
],
devtool: 'source-map'