webpack: Improve comment on HtmlWebpackPlugin
This commit is contained in:
parent
c19538d6ce
commit
31ed719df1
1 changed files with 6 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue