Missed a tiny bit

pull/2332/head
Matt Jeanes 7 years ago
parent 33cc1cf1af
commit 27ee2dacd4

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

@ -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
}
});
}

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