Closed LorinRenodeyn closed 1 year ago
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Command
build
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Using the experimental esbuild in Angular 15 together with Angular/Materialv15 fails on importing some of the global scss files (and) when it encouters
@use
statements in those files.When running the build using the normal angular browser builder, everything runs fine.
Minimal Reproduction
So running
ng build
works fine when using the regular builder@angular-devkit/build-angular:browser
. When switching to@angular-devkit/build-angular:browser-esbuild
, it borks on the scss files.Console output:
theme.scss is located right at the root of the
src
folder, and starts off like this:Part of angular.json:
Package.json:
Exception or Error
No response
Your Environment
Anything else relevant?
No response