Comment out envparam stuff

This parameter on WebpackDevMiddlewareOptions doesn't actually exist until aspnetcore spa services 2.1 so now breaks with @tidusjar's downgrade but luckily not needed

See https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.spaservices.webpack.webpackdevmiddlewareoptions.envparam?view=aspnetcore-2.1#Microsoft_AspNetCore_SpaServices_Webpack_WebpackDevMiddlewareOptions_EnvParam

Still want to keep it around though because it's useful to explain why AOT isn't on with HMR
pull/2332/head
Matt Jeanes 7 years ago
parent 835202f935
commit 4d9fddf68c

@ -151,10 +151,11 @@ namespace Ombi
{
HotModuleReplacement = true,
ConfigFile = "webpack.config.ts",
EnvParam = new
{
aot = false // can't use AOT with HMR currently https://github.com/angular/angular-cli/issues/6347
}
//EnvParam = new
//{
// aot = true // can't use AOT with HMR currently https://github.com/angular/angular-cli/issues/6347
//}
});
}

Loading…
Cancel
Save