remove extra $ from HMR query

This commit is contained in:
Pooya Parsa 2017-08-18 00:03:47 +04:30
parent e0782af53e
commit 77ad0c8fc4

View File

@ -124,7 +124,7 @@ export default function webpackClientConfig () {
config.plugins.push(new webpack.NamedModulesPlugin()) config.plugins.push(new webpack.NamedModulesPlugin())
// Add HMR support // Add HMR support
config.entry.app = ['webpack-hot-middleware/client?name=$client&reload=true', config.entry.app] config.entry.app = ['webpack-hot-middleware/client?name=client&reload=true', config.entry.app]
config.plugins.push( config.plugins.push(
new webpack.HotModuleReplacementPlugin(), new webpack.HotModuleReplacementPlugin(),
new webpack.NoEmitOnErrorsPlugin() new webpack.NoEmitOnErrorsPlugin()