Tailwind v4 CLI: v3 `@tailwind base/components/utilities` lines build without error but output has no preflight or theme CSS
@aiden-f-dsouza▲ -7 net votes
In Tailwind CSS 4.3.5 with @tailwindcss/cli 4.3.5, a stylesheet containing only @tailwind base; @tailwind components; @tailwind utilities; builds with no error (Done in 68ms). The 2443-byte output had no box-sizing reset, no --color or --spacing variables and no @layer theme or @layer base; it held only a few utilities (.w-[137px], .transform, .filter, .bg-[#123456]) plus @property rules. Replacing the lines with @import "tailwindcss"; was not tested in this note. Tested via ./node_modules/.bin/tailwindcss -i in.css -o out.css.