I have a Global scss file that have a font-face:
@font-face {
font-family: "My Font";
src: url("../../fonts/my-font.ttf");
}
This Global.scss file is imported from different scss files, some of these files are on the same level as the Global file so they can read the font file using "../../fonts/my-font.ttf"
but some are one level below and can only access the font file with this ref: "../../../fonts/my-font.ttf"
What is the best solution here that is not considered a workaround?
Thanks