-
Notifications
You must be signed in to change notification settings - Fork 11
Add options to create bundles that can be lazy loaded #35
base: master
Are you sure you want to change the base?
Changes from all commits
d769c41
7657e10
a7c542b
9197c3a
f300e95
0896bbe
8d1d998
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,12 +33,14 @@ The build tools also include a CLI, which can be used by installing the tools gl | |
| ----------------------- | ----------- | -------------------------------------------------------------------------- | | ||
| `destination` (*) | `string` | Target location for the Material build. | | ||
| `modules` | `string[]` | Modules that should be part of the build.<br/> All modules will be built if nothing is specified. | | ||
| `version` | `string` | Version of AngularJS Material.<br/> If set to `local`, it will take the local installed AngularJS Material version from the node modules. <br/> If set to `latest`, the latest version will be downloaded. | | ||
| `version` | `string` | Version of AngularJS Material.<br/> If set to `local`, it will take the local installed Angular Material version from the node modules. <br/> If set to `latest`, the latest version will be downloaded. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. AngularJS is the correct form to use here. Please revert. |
||
| `theme` | `MdTheme` | Material Theme to be used to generate a static theme stylesheet. | | ||
| `themes` | `MdTheme[]` | Multiple Material Themes, which are used to generated a static stylesheet. | | ||
| `cache` | `string` | Directory for caching the downloads | | ||
| `mainFilename` | `string` | Name of the entry file that will be loaded to figure out the dependencies. | | ||
| `destinationFilename` | `string` | Name to be used as a base for the output files. | | ||
| `excludeModules` | `string[]` | Modules that should be excluded from the build.<br/> Use to exclude e.g. core modules when building a bundle that should get lazy-loaded. | | ||
| `excludeMainModule` | `boolean` | Set to `true` to exclude the code for the Angular Material main module. Use when building a bundle that will get lazy-loaded and extend an already existing main module. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There seems to be a lot of extra space here after the name and before the type. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please change Angular to AngularJS. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Please fix that issue and also mention that the |
||
|
||
> **Note:** The options can be set in a JSON file whose path can be passed to the CLI or API. | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.