Hello !
I recently followed this guide to switch to tailwindcss. I'm using a custom font that I include in my styles.css file using @import url('/fonts/herakles/stylesheet.css');.
It works just fine in dev mode but when I try to build the project I get a file not found error as the tailwindcss plugin is searching my custom font in the _fresh/static/fonts/ not in static/fonts/...
Does anyone know how can I change this behavior or copy my files in the _fresh/static/fonts/ directory before the build ?
Hello ! I recently followed this guide to switch to tailwindcss. I'm using a custom font that I include in my
styles.css
file using@import url('/fonts/herakles/stylesheet.css');
. It works just fine in dev mode but when I try to build the project I get a file not found error as the tailwindcss plugin is searching my custom font in the_fresh/static/fonts/
not instatic/fonts/
... Does anyone know how can I change this behavior or copy my files in the_fresh/static/fonts/
directory before the build ?