DEV Community

[Comment from a deleted post]
Collapse
 
gorbus profile image
Gorbus • Edited

the main problem was to make sure all the javascript files are in the purge in tailwind.config.js and not only your entry point.

In our case we have:

./client/ * * / * .html
./client/ * * / * .jsx
./client/ * * / * .js
./imports/ui/ * * / * .js
./imports/ui/ * * / * .jsx

don't keep the space between the * but there was auto restyling if I was putting them together