Skip to content

Glossary: Angular Beyond the Basics

Environment file

Also written: environment files, environment.ts

A file of settings, such as `apiUrl`, chosen per build. Code imports `environment.ts` and the CLI swaps in the development file for `ng serve`.

Where the book teaches it

Related terms

fileReplacementsng generate