Closed Achraf-vermeg closed 4 years ago
Thanks for reporting, will look at it. Seems like they changed the angular.json schema without notice :(
"example": {
"root": "projects/example",
"sourceRoot": "projects/example/src",
"projectType": "library",
"prefix": "exam",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss" // <===== now must be "style": "scss" to work
}
},
....
}
:tada: This issue has been resolved in version 8.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I'm submitting a...
Current behavior
ng g c foo
is not creating scss style extension.angular.json
PS
ng config schematics.@schematics/angular:component.styleext scss
didn't fixed the issueng g c foo --style=scss
fixed the issueExpected behavior
foo.component.scss should be generated by default instead of foo.component.css
Minimal reproduction of the problem with instructions
ng g c foo
Environment
Others:
it works fine in version 7