Skip to content

Commit e158b85

Browse files
committed
docs(changelog): generator updates
1 parent bfa3602 commit e158b85

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ the CHANGELOG files within CLI packages. For specific commit-level changes, see
3131
* Fixed issue with Ionic 1 not live-reloading in devices.
3232
* Added `--no-build` option to `ionic cordova build` to skip Ionic builds.
3333
* Added check for Android SDK Tools version during `ionic info`.
34+
* Added `--no-module` option to Ionic Angular generators. By default, if
35+
applicable, components are generated with corresponding `@NgModule` classes
36+
which allow the component to be lazy-loaded. This new flag offers the ability
37+
to disable this feature.
38+
* Added `--constants` option to Ionic Angular generators. If provided, a file
39+
will be generated that stores string constants for identifiers for
40+
lazy-loaded pages.
3441

3542
<a name="3.5.0"></a>
3643
### 3.5.0 (2017-07-11)

packages/ionic/src/commands/generate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ The given ${chalk.green('name')} is normalized into an appropriate naming conven
4646
options: [
4747
{
4848
name: 'module',
49-
description: 'Skip generating a NgModule',
49+
description: 'Do not generate an NgModule for the component',
5050
type: Boolean,
5151
default: true
5252
},
5353
{
5454
name: 'constants',
55-
description: 'Generate a page constant files for lazy loaded pages',
55+
description: 'Generate a page constant file for lazy-loaded pages',
5656
type: Boolean,
5757
default: false
5858
}

0 commit comments

Comments
 (0)