Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…trahilKazlachev/framework into StrahilKazlachev-docs/bundling/exlude-externals
  • Loading branch information
EisenbergEffect committed Mar 4, 2016
2 parents 1bdc0e3 + 4ec360c commit f64b228
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/article/en-US/bundling-your-app-for-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ Here is a typical bundle configuration in all its glory:
</source-code>
</code-listing>

> Warning
> Exlusion of files that we are using in our project but are not part of it(from CDN URLs, URLs relative to the host, etc.) is done automatically. For this to work do not add them to the **excludes**, since it will cause an error.
- **inject**: If set to `true`, this will inject the bundle in `config.js`, so whenever the application needs a file within that bundle, the loader will load the entire bundle the first time. This is how we can achieve lazy bundle loading. For a large app with multiple sub sections, this will help us avoid loading everything upfront.
- **minify**: As the name suggests, if this is set to `true`, the the source files will be minified as well.
- **rev**: If this is set to `true`, an unique revision number will be appended to the bundle file name.
Expand Down

0 comments on commit f64b228

Please sign in to comment.