Hi Astro friends! I've recently discovered Astro and am absolutely loving it.
I'm changing my site to use a base path now, and my custom fonts (in public/fonts, loaded in src/styles/global.css) work great with npm run build - their URLs inside the CSS file seem to get rewritten by the bundler to include my new base path. However, they don't work with npm run dev - the URLs inside the CSS aren't getting rewritten. Any ideas?
I have base set in astro.config.mjs.
I originally thought I'd just have to hard-code the URLs, but then I noticed that it works in npm run build, so there must be something that can do it. 🤷♂️