Skip to content

Commit

Permalink
docs: production build configuration for app-shell
Browse files Browse the repository at this point in the history
ng run <Project>:app-shell will not trigger production build, to trigger production build, we should explicitly pass it as an argument.
  • Loading branch information
mhadaily authored and kyliau committed Nov 1, 2018
1 parent a93d747 commit 2820c12
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/documentation/stories/app-shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ build with the app shell target
```
ng run my-app:app-shell
```
If you would like to build for production you should run the following command
```
ng run my-app:app-shell:production
ng run my-app:app-shell --configuration production
```

Verify the build output
Open dist/app-shell/index.html
Open dist/index.html
look for text "app-shell works!" which verifies that the app shell route was rendered as part of the output

0 comments on commit 2820c12

Please sign in to comment.