From 31ed719df19b08642e46c14b945225c8a072f158 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 26 Oct 2016 16:52:26 +0100 Subject: [PATCH] webpack: Improve comment on HtmlWebpackPlugin --- webpack.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index cc5edf6046..bfd233b586 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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 or the bottom of , and I'm a bit scared + // about moving them. + inject: false, }), ], devtool: 'source-map'