Skip to content

Commit 609b80d

Browse files
committed
fix(angular): fix --prod option
fixes #4160
1 parent f5d4ca7 commit 609b80d

File tree

1 file changed

+2
-1
lines changed
  • packages/ionic/src/lib/project/angular

1 file changed

+2
-1
lines changed

packages/ionic/src/lib/project/angular/build.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,14 @@ ${input('ionic build')} uses the Angular CLI. Use ${input('ng build --help')} to
5858
summary: `Flag to use the ${input('production')} configuration`,
5959
type: Boolean,
6060
hint: weak('[ng]'),
61+
groups: ['cordova'],
6162
},
6263
...NG_BUILD_OPTIONS,
6364
{
6465
name: 'cordova-assets',
6566
summary: 'Do not bundle Cordova assets during Cordova build',
6667
type: Boolean,
67-
groups: [MetadataGroup.HIDDEN],
68+
groups: [MetadataGroup.HIDDEN, 'cordova'],
6869
default: true,
6970
},
7071
],

0 commit comments

Comments
 (0)