mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
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
This commit is contained in:
parent
835202f935
commit
4d9fddf68c
1 changed files with 5 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue