webpack: Improve comment on HtmlWebpackPlugin
This commit is contained in:
parent
c19538d6ce
commit
31ed719df1
|
@ -92,7 +92,12 @@ module.exports = {
|
||||||
|
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
template: './src/vector/index.html',
|
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'
|
devtool: 'source-map'
|
||||||
|
|
Loading…
Reference in New Issue