# Tailwind v2 and Sage 9

**URL:** https://discourse.roots.io/t/tailwind-v2-and-sage-9/19598
**Category:** sage
**Tags:** webpack
**Created:** 2020-11-20T20:13:45Z
**Posts:** 48
**Showing post:** 43 of 48

## Post 43 by @pi43r — 2021-05-05T00:29:24Z

I came across the same issue after I finished building the whole site and realized that I never tested production.  
The error seems to be that the purge arguments are set relative to the tailwind config, while it should be relative to the root folder. I am not sure if this is only a Windows/WSL problem, though.  
So this fixed it in `tailwind.config.js`:

```
purge: [
      './app/**/*.php',
      './resources/views/**/*.php',
      './resources/assets/scripts/**/*.js',
    ],
```

---

_[View the full topic](https://discourse.roots.io/t/tailwind-v2-and-sage-9/19598)._
