I have this on my tailwind config:
purge: {
content: ['./src/**/*.css', './src/**/*.tsx', './src/**/*.js'],
safelist: ['animate-spin'],
},
Had to add "animate-spin" to the safelist because it was getting purged. This class is only being used on a component library, but I'm seeing that there are still some classes missing.
The problem is that I don't want to add one by one all the classes missing, is there a way to add an entire library to the safelist?