Skip to content

Support for sass.silenceDeprecations in @angular-devkit/build-angular:browser #29616

Closed as not planned
@aalbericio

Description

@aalbericio

Command

generate

Description

I'm using @angular-devkit/build-angular:browser executor (in Nx dev tools) and I can't get rid off thousands of warnings regarding SASS deprecations.

I have tried disabling them using sass.silenceDeprecations but I always get:

Data path "/stylePreprocessorOptions" must NOT have additional properties(sass). Pass --verbose to see the stacktrace.

I have discussed this same issue in the Nx repository and they are pointing to file an issue here since they always mimic angular-devkit available options.

nrwl/nx#29230 (comment)

I think they mean this schema:

https://github.com/angular/angular-devkit-build-angular-builds/blob/main/src/builders/browser/schema.json

Thanks

Describe the solution you'd like

I would like to have support for sass.silenceDeprecations in @angular-devkit/build-angular:browser

Describe alternatives you've considered

I havent found any workaround yet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions