From 9bbe67f28622438a295b3a7a3cb914972ce3829d Mon Sep 17 00:00:00 2001 From: Santosh Yadav Date: Fri, 30 Aug 2019 14:17:19 +0530 Subject: [PATCH] docs: add clarification regarding development in older browsers in Deployment guide (#32210) Fixes #32199 PR Close #32210 --- aio/content/guide/deployment.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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"`.