I am building an Angular 2 app and using .NET Core and Webpack to compile my static resources into a dist folder. I am using a plugin that builds my index.html file and put
You are able to change the directory for the static files, by passing StaticFileOptions to the UseStaticFiles method:
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/static-files