Skip to content

Commit a719c6e

Browse files
brandonrobertsfilipesilva
authored andcommitted
fix(@schematics/angular): Update environment reference to Angular CLI configuration file
1 parent e7f5488 commit a719c6e

File tree

1 file changed

+3
-4
lines changed
  • packages/schematics/angular/application/files/src/environments

1 file changed

+3
-4
lines changed

packages/schematics/angular/application/files/src/environments/environment.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// The file contents for the current environment will overwrite these during build.
2-
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
3-
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
4-
// The list of which env maps to which file can be found in `.angular-cli.json`.
1+
// This file can be replaced during build by using the `fileReplacements` array.
2+
// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
3+
// The list of file replacements can be found in `angular.json`.
54

65
export const environment = {
76
production: false

0 commit comments

Comments
 (0)