Skip to content

Commit

Permalink
- add more comments for the bundle config
Browse files Browse the repository at this point in the history
  • Loading branch information
B-Stefan committed Jan 14, 2016
1 parent bd0e209 commit ae3bdfc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,24 @@ This README outlines the details of collaborating on the Ember-CLI-Lazy-Load add
```javascript

index: {
//Minisearch file patterns for the content of the bundle
files: [
"**/templates/index.js",
"**/controllers/index.js",
"**/components/my-item/**.js"
"**/components/my-cat/**.js"
],

//The name of the routes if you are using the lazy-route mixin, no minisearch expressions are allowed here.
routes: ["index", "..."]
//The dependencies for this bundle. They will loaded in the same batch as the actual bundle
dependencies: ["about"],
},
about: {
files: [
"**/templates/about.js",
"**/controllers/about.js",
"**/components/my-cat/**.js"
"**/components/my-item/**.js"
],
dependencies: ["index"],
routes: ["about", "more routes for this bundle "]
}
```
Expand Down

0 comments on commit ae3bdfc

Please sign in to comment.