diff --git a/integration/angular_cli/src/app/app.component.html b/integration/angular_cli/src/app/app.component.html index fdb26fbd7b4b..f34a757de2f5 100644 --- a/integration/angular_cli/src/app/app.component.html +++ b/integration/angular_cli/src/app/app.component.html @@ -419,7 +419,7 @@

Next Steps

ng add @angular/pwa
ng add _____
ng test
-
ng build --prod
+
ng build
diff --git a/integration/angular_cli/src/environments/environment.ts b/integration/angular_cli/src/environments/environment.ts index 30d7bccb1989..f56ff47022c7 100644 --- a/integration/angular_cli/src/environments/environment.ts +++ b/integration/angular_cli/src/environments/environment.ts @@ -1,5 +1,5 @@ // This file can be replaced during build by using the `fileReplacements` array. -// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. +// `ng build` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { diff --git a/packages/schematics/angular/application/files/src/environments/environment.ts.template b/packages/schematics/angular/application/files/src/environments/environment.ts.template index 30d7bccb1989..f56ff47022c7 100644 --- a/packages/schematics/angular/application/files/src/environments/environment.ts.template +++ b/packages/schematics/angular/application/files/src/environments/environment.ts.template @@ -1,5 +1,5 @@ // This file can be replaced during build by using the `fileReplacements` array. -// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. +// `ng build` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { diff --git a/packages/schematics/angular/application/other-files/app.component.html.template b/packages/schematics/angular/application/other-files/app.component.html.template index c7b93a56aebf..f8b63834d7f9 100644 --- a/packages/schematics/angular/application/other-files/app.component.html.template +++ b/packages/schematics/angular/application/other-files/app.component.html.template @@ -431,7 +431,7 @@
ng add @angular/pwa
ng add _____
ng test
-
ng build --prod
+
ng build