Configuring and building an Angular application

The Angular.json file contains various configurations used by Angular CLI. Let's open it and take a look at it:

At the top level, the configuration .json file contains the workspace version (version), the two projects contained in the workspace (projects), the path (newProjectRootwhere new projects, when created with the CLI, will be added, and the default project (defaultProject) that is launched when the workspace is run, and that is built for deployment. Finally, it contains some defaults for the various types of entities that can be created with the CLI, namely, components, directives, ...

Get Hands-On TypeScript for C# and .NET Core Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.