Prior to updating to Angular 9, my project was configured to use SCSS when the ng generate
command was run, and indeed it did.
Much to my dismay, after running my first ng g c
on Angular 9, it added a css
file rather than a scss
file.
The accepted answer to this does not appear to work any longer. My angular.json
includes the following (as it has for the past two years):
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
}
},
How do I fix this?