Skip to content

Commit c873e03

Browse files
kevinbuhmannhansl
authored andcommitted
fix(@angular/cli): use correct property names for build config defaults
1 parent 8401ffc commit c873e03

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/@angular/cli/commands/build.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ export const baseBuildCommandOptions: any = [
5454
{
5555
name: 'common-chunk',
5656
type: Boolean,
57-
default: buildConfigDefaults['common-chunk'] === undefined ?
58-
true : buildConfigDefaults['common-chunk'],
57+
default: buildConfigDefaults['commonChunk'],
5958
aliases: ['cc'],
6059
description: 'Use a separate bundle containing code used across multiple bundles.'
6160
},
@@ -64,7 +63,7 @@ export const baseBuildCommandOptions: any = [
6463
type: String,
6564
aliases: ['bh'],
6665
description: 'Base url for the application being built.',
67-
default: buildConfigDefaults['base-href']
66+
default: buildConfigDefaults['baseHref']
6867
},
6968
{
7069
name: 'deploy-url',

0 commit comments

Comments
 (0)