mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 18:19:40 +00:00
Support specifying environment variables for the Webpack dev middleware Node instance. Resolves #311.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.AspNetCore.SpaServices.Webpack
|
||||
{
|
||||
public class WebpackDevMiddlewareOptions
|
||||
@@ -7,5 +9,6 @@ namespace Microsoft.AspNetCore.SpaServices.Webpack
|
||||
public bool ReactHotModuleReplacement { get; set; }
|
||||
public string ConfigFile { get; set; }
|
||||
public string ProjectPath { get; set; }
|
||||
public IDictionary<string, string> EnvironmentVariables { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user