Skip to content

Commit

Permalink
docs(CHANGELOG): add breaking change doc for simplified angular-cli.j…
Browse files Browse the repository at this point in the history
…son defaults

Add documentation for a breaking change in angular-cli.json (see angular#4389) that was missed in the changelog

Fix angular#4404
  • Loading branch information
saverett authored Feb 24, 2017
1 parent 84e67ce commit 7673c0f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,50 @@
"prod": "environments/environment.prod.ts"
}
```
* @angular/cli: simplify default arguments in angular-cli.json [#4389](https://github.com/angular/angular-cli/pull/4389)

If you specified your own `generate` defaults, use the example below to make any necessary migrations (see the [schema](https://github.com/angular/angular-cli/blob/b6893d0b7fb351baf2ae499decb7740411305ef5/packages/%40angular/cli/lib/config/schema.json) for full documentation):

Before:

```
"defaults": {
"styleExt": "css",
"inline": {
"style": true,
"template": true
},
"spec": {
"component": false,
"directive": false,
"pipe": false,
"service": false
}
}
```

After:

```
"defaults": {
"styleExt": "css",
"component": {
"flat": true,
"inlineStyle": true,
"inlineTemplate": true,
"spec": false
},
"directive": {
"spec": false
},
"pipe": {
"spec": false
},
"service": {
"spec": false
}
}
```



Expand Down

0 comments on commit 7673c0f

Please sign in to comment.