Add option to configure Webpack Hot Middleware client

Addresses #667
This commit is contained in:
Thomas Hermann
2017-02-25 12:07:01 -05:00
committed by Steve Sanderson
parent 347524a116
commit ce40973859
3 changed files with 27 additions and 3 deletions

View File

@@ -30,6 +30,11 @@ namespace Microsoft.AspNetCore.SpaServices.Webpack
/// </summary>
public bool ReactHotModuleReplacement { get; set; }
/// <summary>
/// Specifies additional options to be passed to the Webpack Hot Middleware client
/// </summary>
public IDictionary<string, string> HotModuleReplacementClientOptions { get; set; }
/// <summary>
/// Specifies the Webpack configuration file to be used. If not set, defaults to 'webpack.config.js'.
/// </summary>