Gitea + Tailwindcss

I’m trying to incorporate Tailwindcss into Gitea. Anyone has any experience with the two of them together? I can’t make it happen. I must be missing something.

I have a file named tailwind.css that includes these:

@tailwind base;
@tailwind components;
@tailwind utilities;

The Webpack config file has the following section:

            loader: 'postcss-loader',
            options: {
              plugins: () => [

At the top of it there is:

const tailwindcss = require('tailwindcss');

And I have the following line in my header:

<link rel="stylesheet" type="text/css" href="{{StaticUrlPrefix}}/css/tailwind.css">