diff --git a/aio/content/guide/deployment.md b/aio/content/guide/deployment.md index 4c0676fd65..b22cb51955 100644 --- a/aio/content/guide/deployment.md +++ b/aio/content/guide/deployment.md @@ -618,14 +618,14 @@ In `angular.json` add two new configuration sections under the `build` and `serv ... }, "es5": { - "browserTarget": "app:build:es5" + "browserTarget": ":build:es5" } } }, -You can then run the serve with this configuration. +You can then run the `ng serve` command with this configuration. Make sure to replace `` (in `":build:es5"`) with the actual name of the app, as it appears under `projects` in `angular.json`. For example, if your app name is `myAngularApp` the config will become `"browserTarget": "myAngularApp:build:es5"`. @@ -680,24 +680,24 @@ Create an [ES5 serve configuration](guide/deployment#configuring-serve-for-es5) -"test": { +"e2e": { "builder": "@angular-devkit/build-angular:protractor", "options": { ... }, "configurations": { - "production": { - ... - }, + "production": { + ... + }, "es5": { - "devServerTarget": "app:serve:es5" + "devServerTarget": ":serve:es5" } } }, -You can then run the e2e's with this configuration +You can then run the `ng e2e` command with this configuration. Make sure to replace `` (in `":serve:es5"`) with the actual name of the app, as it appears under `projects` in `angular.json`. For example, if your app name is `myAngularApp` the config will become `"devServerTarget": "myAngularApp:serve:es5"`.