Explanation
Configures PurgeCSS to remove unused styles from production builds
Examples
Configure PurgeCSS with safelist
// tailwind.config.js
module.exports = {
purge: {
content: [
'./src/**/*.html',
'./src/**/*.jsx',
],
options: {
safelist: ['bg-red-500', 'text-center']
}
}
}