diff --git a/README.md b/README.md index 7fb9e7f58cb6..4d276a6db258 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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