mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
In SpaServices, add new HotModuleReplacementEndpoint option on HMR config. Fixes #579.
This commit is contained in:
@@ -13,6 +13,12 @@ namespace Microsoft.AspNetCore.SpaServices.Webpack
|
||||
/// </summary>
|
||||
public bool HotModuleReplacement { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// If set, overrides the URL that Webpack's client-side code will connect to when listening for updates.
|
||||
/// This must be a root-relative URL similar to "/__webpack_hmr" (which is the default endpoint).
|
||||
/// </summary>
|
||||
public string HotModuleReplacementEndpoint { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the internal port number that client-side HMR code will connect to.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user