Enable disableHostCheck option of webpack-dev-server (#2790)
This commit is contained in:
		
							parent
							
								
									75bd141e22
								
							
						
					
					
						commit
						91ddd345f2
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -13,6 +13,7 @@ module.exports = merge(devConfig, {
 | 
				
			||||||
    compress: true,
 | 
					    compress: true,
 | 
				
			||||||
    historyApiFallback: true,
 | 
					    historyApiFallback: true,
 | 
				
			||||||
    contentBase: resolve(paths.output, paths.entry),
 | 
					    contentBase: resolve(paths.output, paths.entry),
 | 
				
			||||||
    publicPath
 | 
					    publicPath,
 | 
				
			||||||
 | 
					    disableHostCheck: true
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue