启用 模块热替换,也称为 HMR。
启用 HMR 很简单,并且在大多数情况下不需要任何选项。
new webpack.HotModuleReplacementPlugin({ // Options... });