angular-server-side-configuration
Advanced tools
Changelog
16.0.0 (2023-05-03)
Secure by default
), the default for searchPattern
has been changed to {sourceRoot}/**/environments/environment*.ts
(from {sourceRoot}/**/!(*server*).ts
). If your project uses environment variables in other files, update the searchPattern
entry in your ngsscbuild
block in your angular.json.Changelog
15.0.0 (2022-11-18)
ng add angular-server-side-configuration
will
try to add the import in either app.module.ts
, app.components.ts
or
main.ts
depending on availability. The ngssc builder will also now
search all files for environment variable usages instead of just the
defined environment file.