Environment files are back with Angular v15.1
Cagkan Mert Oztas
Posted on January 23, 2023
As we all know, when creating a new project in Angular v15, environment files were no longer included. To bring back the environment files, you had to create the files manually, edit the angular.json, and replace the files when switching to production mode.
The Angular v15.1 update comes with a great command for this. Now, you can automatically create your environment files and set the fileReplacement settings with the
ng generate environment [--project-name]
command.
💖 💪 🙅 🚩
Cagkan Mert Oztas
Posted on January 23, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.