Skip to content

Commit

Permalink
chore(readme): add section about bundling (#1153)
Browse files Browse the repository at this point in the history
Getting kinda tired of people asking this all the time. Turns out I never mentioned it in the readme.
  • Loading branch information
filipesilva authored Jun 21, 2016
1 parent 4b638c8 commit e5180a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The generated project has dependencies that require **Node 4 or greater**.
* [Generating a Route](#generating-a-route)
* [Creating a Build](#creating-a-build)
* [Environments](#environments)
* [Bundling](#bundling)
* [Running Unit Tests](#running-unit-tests)
* [Running End-to-End Tests](#running-end-to-end-tests)
* [Deploying the App via GitHub Pages](#deploying-the-app-via-github-pages)
Expand Down Expand Up @@ -140,6 +141,11 @@ You can also add your own env files other than `dev` and `prod` by creating a
`src/client/app/environment.{NAME}.ts` and use them by using the `--env=NAME`
flag on the build/serve commands.

### Bundling

Builds created with the `-prod` flag via `ng build -prod` or `ng serve -prod` bundle
all dependencies into a single file, and make use of tree-shaking techniques.

### Running unit tests

```bash
Expand Down

0 comments on commit e5180a4

Please sign in to comment.