# Tailwind CSS Performance Optimization ## Bundle Size Optimization Configure content sources for optimal purging: ```javascript // tailwind.config.js export default { content: [ "./index.html", "./src/**/*.{js,ts,jsx,tsx,vue,svelte}", "./node_modules/@mycompany/ui-lib/**/*.{js,ts,jsx,tsx}", ], // Enable JIT for faster builds jit: true, } ``` ### Content Path Best Practices 1. **Be specific**: Don't use `"./**/*"` - it scans too many files 2. **Include UI libraries**: Add paths to component libraries 3. **Exclude tests**: Don't include test files in content paths --- ## CSS Optimization Techniques ```html