diff --git a/webpack.config.js b/webpack.config.js index affd6a2dc..7cf91b883 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({