Skip to content

Commit

Permalink
Use registry transformer (#79)
Browse files Browse the repository at this point in the history
* Add registry transformer support and update test-app

* remove fixtures

* Generate unix fixtures

* Update webpack contrib version

* generate windows fixtures

* Only run registry transformer when there are lazyModules specified

* Readme
  • Loading branch information
agubler authored Mar 23, 2018
1 parent 5473536 commit 29e90d5
Show file tree
Hide file tree
Showing 52 changed files with 12,726 additions and 19,622 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ Applications use a `.dojorc` file at the project root to control various aspects

#### `bundles`: object

Useful for breaking an application into smaller bundles, the `bundles` option is a map of webpack bundle names to arrays of modules that should be bundled together. For example, with the following configuration, both `src/Foo` and `src/Bar` will be grouped in the `foo.[hash].js` bundle:
Useful for breaking an application into smaller bundles, the `bundles` option is a map of webpack bundle names to arrays of modules that should be bundled together. For example, with the following configuration, both `src/Foo` and `src/Bar` will be grouped in the `foo.[hash].js` bundle.

Widget modules defined used with `w()` will be automatically converted to a lazily imported, local registry item in the parent widget. This provides a mechanism for declarative code splitting in your application.

```
{
Expand Down
Loading

0 comments on commit 29e90d5

Please sign in to comment.