Working solution for webpack 2.x and 3.x
config.devServer = {
hot: false,
inline: false,
}
The webpack client scripts are added by default to your bundle (since webpack 2), but you can disable those by adding --no-inline to your CLI command.