Angular CLI commands – ng build

The ng build compiles the project to the /dist directory. Just remember to call it inside the working directory.

Once you call you may be stopped for some time on some of the steps, like ES bundling

But eventually, if everything is written well you’ll get a green (valid) compilation that looks like this

The bundle is built by the Webpack build tool based on the angular.json file configuration. However, you can still change the configuration manually.

You may also like...