You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When migrating our library to use Yarn PnP, it's no longer resolving the @angular/material sass api at build time. This resolved fine prior to the pnp shift. @angular/material is declared as a peer dependency of the library (and installed as devDep for testing)
× Compiling with Angular sources in Ivy partial compilation mode.
Can't find stylesheet to import. ╷6 │ @use '@angular/material' as mat; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵
How To Reproduce
In a library project within a repo using yarn pnp, try using the root sass api from @angular/material within a component's stylesheet.
The text was updated successfully, but these errors were encountered:
michaelfaith
changed the title
bug: Can't find stylesheet to import when using Yarn PnP
bug: "Can't find stylesheet to import" when using Yarn PnP
Jul 18, 2023
Type of Issue
Description
When migrating our library to use Yarn PnP, it's no longer resolving the
@angular/material
sass api at build time. This resolved fine prior to the pnp shift.@angular/material
is declared as a peer dependency of the library (and installed as devDep for testing)How To Reproduce
In a library project within a repo using yarn pnp, try using the root sass api from
@angular/material
within a component's stylesheet.When building, it should fail to resolve.
Expected Behaviour
Should build successfully
Version Information
The text was updated successfully, but these errors were encountered: