"html-webpack-plugin": "^2.26.0",
"webpack": "^2.2.0",
"webpack-dev-server": "^2.2.0"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
</body>
</html>
plugins: [
new HtmlWebpackPlugin({
title: 'Funds view',
filename: 'index.html',
template: './index.html',
inject: true,
hash: true
})
]
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --inline --hot",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
}
build was right
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Funds view</title>
</head>
<body>
<script type="text/javascript" src="/dist/main.js?411eceaea4b7175d3cb4"></script></body>
</html>
dev not inject

I can confirm this as well. This drove me nuts until I finally found this: http://stackoverflow.com/questions/39585680/html-webpack-plugin-not-inject-js-file-into-index-html-when-using-webpack-dev-se
Any way around this?
This might be helpful as well: https://github.com/gajus/write-file-webpack-plugin
The same problem, and write to disk doesn't help
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
https://github.com/jantimon/html-webpack-harddisk-plugin