Skip to content

Allow to configure sass fatalDeprecations and silenceDeprecations options #28587

@sod

Description

@sod

Command

serve, build

Description

Please allow to configure fatalDeprecations and silenceDeprecations.

  • fatalDeprecations can be used to prevent already deprecated features or syntax be added to the code - by failing the build - in a code base where a lot of people are working on.
  • silenceDeprecations can be used, so you don't have to downgrade sass anymore.

Describe the solution you'd like

perhaps in the angular.json:

"stylePreprocessorOptions": {
    "fatalDeprecations": ["color-functions", "1.70.0"],
    "silenceDeprecations": ["1.77.0"],
}

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions