@pawlean It works just fine locally, so the problem seems to only be there when trying to deploy to Vercel.
But I think I got it. The reason for the problem was apparently me adding @import "daisyui"
in my CSS file; just having a line to import it in the tailwind.config.ts file is enough.