Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.4.0-rc.1
node: 7.1.0
os: darwin x64
Repro steps.
first: open .angular-cli.json and modify styleExt
to sass
.
second: ng generate component hello
Desired functionality.
it looks like that the property "styleExt" of .angular-cli.json is not being used as expected. So if you have "sass" pre-configured in .json and then want to get a new component, it will generate the style file with ".css" extension, instead of sass. until forcing --style=sass in command.