Framework support
Dotvault for Angular
Dotvault for Angular projects.
Angular does not read .env files itself. It builds configuration into environment.ts at compile time, which is why most Angular teams end up with a .env alongside it and a script that turns one into the other. Dotvault edits the .env half of that arrangement, so the source your build script reads is somewhere you can actually see it.
What you get
- →Detects Angular from @angular/core in package.json.
- →Recognises the NG_ prefix used by Angular CLI variables.
- →Useful if you generate environment.ts from .env, which is the common setup. Angular itself has no native .env support.
- →Snapshots and diffs so a config change is reviewable.
Known environment variables
Dotvault recognises these variables when you open a Angular project and surfaces helpful descriptions and warnings in the editor. Angular is detected via @angular/core in package.json.
NG_Angular CLI variable
Official Angular docs: angular.dev/overview