From the course: Angular Essential Training

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Angular project configuration

Angular project configuration - Angular Tutorial

From the course: Angular Essential Training

Angular project configuration

- [Instructor] In Angular, the two main configuration files are tsconfig.json and angular.json. All Angular developers should be familiar with these files. I opened our project here in a GitHub Codespace. I talked about why we use Codespaces earlier in this course. So for now, just think of them as an easy way to share and write code without installing anything on your local machine, I'll go to the root of our project and click on tsconfig.json to open the file. We write Angular apps using TypeScript. And this file tells the TypeScript compiler how to generate JavaScript code. The Angular CLI tool configures sensible defaults when you start a new project, but you can always change the settings if needed. The two properties I customize most often are compiler options and Angular compiler options. Use the compiler options property to tell TypeScript how to compile your code. And use the Angular compiler options property to…

Contents