From cc029b7744ce27fba17d57bdd9fadc247e88d162 Mon Sep 17 00:00:00 2001 From: Tom Medema Date: Tue, 6 Mar 2018 09:45:46 +0100 Subject: [PATCH] prevent grapes.js from being injected twice during development --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index affd6a2dcc..7cf91b883a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -24,7 +24,7 @@ module.exports = env => { const index = 'index.html'; const indexDev = `_${index}`; const template = fs.existsSync(indexDev) ? indexDev : index; - plugins.push(new HtmlWebpackPlugin({ template })); + plugins.push(new HtmlWebpackPlugin({ template, inject: false })); } plugins.push(new webpack.ProvidePlugin({