As I understand the Angular2 concept - it is transpiling TypeScript files to .js files. In principle, it should be possible to compile, package, and then run that Angular2 a
How to serve an Angular 2 dist folder index.html to serve an Angular 2 dist folder index.html
If it's not obvious to everyone, and it wasn't to me. If you want to run the dist folder locally after building it and fixing it base ref, use something like http-server and point it to the dist folder, not any particular file. From the cmd window in your project folder
c:\user\myProject> http-server ./dist
as explained in the link