# Yarn Compile error with tailwind.config.js

**URL:** https://discourse.roots.io/t/yarn-compile-error-with-tailwind-config-js/25366
**Category:** sage
**Tags:** bud, tailwind, sage10
**Created:** 2023-05-17T09:50:38Z
**Posts:** 9
**Showing post:** 7 of 9

## Post 7 by @stuartcusackie — 2024-08-20T12:52:34Z

The [tailwind docs still use require](https://tailwindcss.com/docs/font-family#customizing-the-default-font), 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](https://discourse.roots.io/t/tailwind-config-js-and-require-vs-import-es6/27914) 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.

---

_[View the full topic](https://discourse.roots.io/t/yarn-compile-error-with-tailwind-config-js/25366)._
