Skip to content

Commit d1d4536

Browse files
authored
Merge pull request #116 from Adam-Langley/patch-1
corrected target environment arg for ng build
2 parents 58ce7ee + b6eb697 commit d1d4536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Step-by-step-publish-to-azure-angular.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ Select "**azure-publish-demo-server**" and click "**OK**", then click "**Publish
8383
The details will be explained in the next lines. Here are the quick steps to publish the **AngularUI** to the Azure
8484

8585
- Run the `yarn` command to restore packages
86-
- Run the `ng build -prod`
86+
- Run the `ng build --prod`
8787
- Copy the web.config file that is placed in **angular** folder root to dist folder
8888
- Configure the **angular/dist/assets/appconfig.json**
8989
- Send the required files to the Azure
9090

9191
### Prepare The Publish Folder
9292

93-
Run the `yarn` command to restore packages and run the `ng build -prod` to create publish folder that named **dist**.
93+
Run the `yarn` command to restore packages and run the `ng build --prod` to create publish folder that named **dist**.
9494

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

0 commit comments

Comments
 (0)