I'm using this angular 4 seed app: https://github.com/2sic/app-tutorial-angular4-hello-dnn
It uses webpack and works fine.
It only seems to serve the dev files and not the dist/ folder.
I want to ng serve the dist folder.
Not sure the command to do this or if I need to install a lite server or something.
I run this command to create the dist folder (which works fine):
g build --prod --aot --output-hashing=none
Now I want to run this build in the browser.


localhost, you can put your compiled sources into a dist (distribution) folder - which is then served by a http-server and propagated to the "outside" world. anddistis just a default name widely used for that purpose...node_modules\.bin\ng serve --port 4200 --base-href /my-app/ --host 0.0.0.0does a standard serve, and host 0000 makes the served app accessible to the network from another computer. (the ip is the ip of your computer)