Yarn Compile error with tailwind.config.js

The tailwind docs still use require, even all of the official plugins still use require in their docs.

So at the moment it seems very difficult / impossible to do anything fancy with tailwind and Bud when you’re not proficient in ES modules. I cannot figure out how to access tailwind defaultTheme variables with Bud.

I also have lots of custom tailwind plugins that work for old versions of sage and all versions of Laravel, yet they don’t work for bud. I can’t figure out how to convert them.