Angular CLI workspace file

In the previous section, we mentioned the angular.json file. This is an extremely important part of an Angular application, so it is worth exploring this file some more.

The angular.json file is always found in the root folder of a CLI generated project, along with the package.json file. Originally, this file was named .angular-CLI.json, but as of Angular 6+, the file was renamed to angular.json, though its official name is the Angular CLI workspace file.

The main source of configuration for the entire project

This file is used as the main source of configuration for the entire project, as we’ve already seen in the configuration section and the environment settings file. There are many more settings that we can change within this JSON file in order to optimize our application. Let’s have a look at some of the sections of this file.

Get hands-on with 1200+ tech skills courses.