From b6eb697ef19422ce0aa827c75219f4bc0f148f03 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Tue, 12 Feb 2019 10:15:32 +1300 Subject: [PATCH] corrected target environment arg for ng build --- doc/Step-by-step-publish-to-azure-angular.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Step-by-step-publish-to-azure-angular.md b/doc/Step-by-step-publish-to-azure-angular.md index 10c53f28..05ac2046 100644 --- a/doc/Step-by-step-publish-to-azure-angular.md +++ b/doc/Step-by-step-publish-to-azure-angular.md @@ -83,14 +83,14 @@ Select "**azure-publish-demo-server**" and click "**OK**", then click "**Publish The details will be explained in the next lines. Here are the quick steps to publish the **AngularUI** to the Azure - Run the `yarn` command to restore packages -- Run the `ng build -prod` +- Run the `ng build --prod` - Copy the web.config file that is placed in **angular** folder root to dist folder - Configure the **angular/dist/assets/appconfig.json** - Send the required files to the Azure ### Prepare The Publish Folder -Run the `yarn` command to restore packages and run the `ng build -prod` to create publish folder that named **dist**. +Run the `yarn` command to restore packages and run the `ng build --prod` to create publish folder that named **dist**.