I’ve built a custom node package for use on a group of sites that I’m building. Within the custom node package I have used TailwindCSS classes. I’ve added the following line to my
tailwind.config.js purge array:
This is working locally in that all of the classes I’ve used in my package are not purged when I run
npm run generate. On Netlify, it does not work, and all of the classes that are not used elsewhere are purged.
Thank you in advance for your help.