Hey guys, so I searched heavily and extensively on every single forum page and Stack Overflow, nothing.
I am facing the issue where my @font-face, attribute url() is not working as intended.
When I build the application using npm run build Vite compiles my css code and my css code that is built for production **can't locate .ttf (font file I am self-hosting) .
The reason why my production code, my css is not reading the .ttf is because instead of compliling src: url(../fonts/Mont.ttf) he compiles src: url(./fonts/Mont.ttf)
Quite literarly, one dot is preventing me from having a correct production code. I will attach my config relating to this and my file structure.