chunkhash只能用在生产环境不能用在开发环境去掉热更新,不要让webpack.HotModuleReplacementPlugin()在plugins里运行, 热更新与js的chunkhash有冲突