This commit is contained in:
Pooya Parsa 2017-06-15 19:30:23 +04:30
parent 2576e8795e
commit ce959878e7
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ export default function webpackClientConfig () {
config.plugins.push(new FriendlyErrorsWebpackPlugin())
}
// Dev client build
if(this.options.dev){
if (this.options.dev) {
// Add HMR support
config.entry.app = flatten(['webpack-hot-middleware/client?name=$client&reload=true', config.entry.app])
config.plugins.push(