Skip to content

Setting the global default to scss does not affect new projects. #5599

Closed
@cedvdb

Description

@cedvdb

The current default is css and one needs to specifically tell the cli to do scss.

First of all I don't see any benefit in using css over scss.
Secundo, it seems it would fit right in the cli philosophy to be opinionated on what to use.
Third, it's easy to switch, but inconvenient if for example you start a project forgetting to specify it should be sass (which is 100% of the time personally), create 4 components from the get go. Now you have to go into each component.ts file and change the style extensions, change every css to scss and change cli.json.
Fourth, most people using css don't really mind having .scss files, while the other way around will throw error if you use variables or other scss features.

The cli is opinionated, why not be opinionated on this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)freq1: lowOnly reported by a handful of users who observe it rarelyseverity2: inconvenienttype: bug/fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions