-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v10 - referencing fonts from assets in sass fails #18041
Comments
I had the same issue yesterday. In your case you need to update the font path to be relative from the SCSS file. |
@klemenoslaj, in the reproduction provided |
And indeed this might also be related to #18013. |
Yes, my bad. I have updated error in the issue and the repo to reproduce this properly. Sorry for this. |
This seems to only work if the assets are physically present in the
@alan-agius4 do you want me to create a separate branch for working example & not working with globs copying? |
@klemenoslaj in that case you will need to use root paths example |
Yes that solves it 👍 So this is the official solution then? In this case I can close the issue 👍 |
Yeah it is. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 9.x.xDescription
After upgrading to Angular 10 the files from
assets
, referenced in the scss fail to build.I managed to reproduce it with
ng new <name> --minimal
as well.🔬 Minimal Reproduction
yarn.lock
)ng build
orng serve
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: