Controlling Tailwind CSS v3 Production Output with the content Config
Tailwind CSS v3 JIT only emits utilities found in files matched by content. Learn how to configure, verify, and recover from missing production styles.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Tailwind CSS v3 JIT only emits utilities found in files matched by content. Learn how to configure, verify, and recover from missing production styles.
Dynamic utility classes missing from Tailwind CSS v3 production CSS Tailwind CSS v3 runs the Just-in-Time engine by default and only emits utilities that appear as literal strings inside configured content paths. Class names assembled at runtime with template literals or concatenation, such as text-${color}-500 , are invisible to that static scan. As a resul
Tailwind CSS v3 runs the Just-In-Time engine by default and generates utility CSS only from class names found in files matched by the content array. The goal is to scan utility classes used across multiple packages in a monorepo where tailwind.config.js lives in a subdirectory rather than the repository root. Because content globs resolve relative to the con