Skip to content

SASS not working correctly with new builder #26523

@HammamBM

Description

@HammamBM

Command

build

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

17.0.3

Description

This works in the same version 17.0.3 but with the previous builder. There are 2 main issues and happen with both "application" not the "browser-esbuild".

  • @use doesn't work with absolute path with neither builder
  • With @use component budgets go out of control with several warning and errors.

Minimal Reproduction

-@use with absolute paths on SCSS files and inline
-@use in component styles

Exception or Error

No response

Your Environment

Angular CLI: 17.0.3
Node: 18.16.1
Package Manager: npm 9.5.1
OS: win32 x64

Angular: 17.0.4
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                              Version
--------------------------------------------------------------
@angular-devkit/architect            0.1700.3
@angular-devkit/build-angular        17.0.3
@angular-devkit/core                 17.0.3
@angular-devkit/schematics           17.0.3
@angular/cdk                         17.0.1
@angular/cli                         17.0.3
@angular/material                    17.0.1
@angular/material-date-fns-adapter   17.0.1
@schematics/angular                  17.0.3
rxjs                                 7.8.1
typescript                           5.2.2
zone.js                              0.14.2

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: repro stepsWe cannot reproduce the issue with the information given

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions