Skip to content

Commit

Permalink
corrected target environment arg for ng build
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-Langley authored Feb 11, 2019
1 parent 58ce7ee commit b6eb697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Step-by-step-publish-to-azure-angular.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.

<img src="images/azure-publish-angular-publish-angular.png">

Expand Down

0 comments on commit b6eb697

Please sign in to comment.