Missed a tiny bit

This commit is contained in:
Matt Jeanes 2018-06-18 13:01:29 +01:00
commit 27ee2dacd4
3 changed files with 6 additions and 6 deletions

View file

@ -13,7 +13,7 @@
"commandLineArgs": "-baseurl /testing",
"launchBrowser": true,
"environmentVariables": {
//"ASPNETCORE_ENVIRONMENT": "Development"
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Ombi": {

View file

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

View file

@ -1,4 +0,0 @@
// https://github.com/aspnet/JavaScriptServices/issues/1046
require('ts-node/register')
module.exports = require("./webpack.config.ts");