I created a brand new Angular CLI 6 project:
ng new foo --style=scss
I wrote about this in another blog post.
Now generate a component:
ng generate component myComp/display
As expected, the new component is generated using SCSS:
That's good. But, what if you want to use something other than the project settings, like creating a normal CSS file as part of your new component or using the styleext command line argument:
ng generate component myComp/otherdisplay --styleext=css
Now look at the generated files:
It changed the SCSS files from the first command to CSS Files in the second command. In case you are experimenting with different preprocessors for whatever reason, this has you covered.