4 of 6 standards met
Fixes: https://github.com/tailwindlabs/tailwindcss/issues/15844 Fixes: https://github.com/tailwindlabs/tailwindcss/issues/19706 Fixes: https://github.com/tailwindlabs/tailwindcss/discussions/15458 Type aliases get resolved through to during declaration emit, which lives in a hashed internal DTS chunk with no stable import path, causing TS2742. Interfaces preserve their named identity, so downstream declaration files reference from directly. ๐ค Generated with Claude Code
What version of Tailwind CSS are you using? v4.2.1 What build tool (or framework if it abstracts the build tool) are you using? Vite 7.3.1 What version of Node.js are you using? v24.10.0 What browser are you using? Chrome What operating system are you using? macOS Reproduction URL https://github.com/ulrichstark/repro-tailwind-hard-reload-when-deleting-file-not-in-module-graph Run the dev server in my repro, open the page and then delete . Describe your issue** Probably since https://github.com/tailwindlabs/tailwindcss/pull/19670, when touching some file that's not in the module graph, the tailwind vite plugin triggers an hard reload in the browser. It seems like the target of the mentioned PR was to reload on every change of a file that's not in a module graph. I don't think this should be the expected behaviour.
Repository: tailwindlabs/tailwindcss. Description: A utility-first CSS framework for rapid UI development. Stars: 93837, Forks: 5089. Primary language: TypeScript. Languages: TypeScript (81.5%), Rust (16%), CSS (0.7%), JavaScript (0.7%), HTML (0.7%). License: MIT. Homepage: https://tailwindcss.com/ Topics: css, css-framework, functional-css, postcss, responsive, tailwindcss, utility-classes. Latest release: v4.2.1 (5d ago). Open PRs: 30, open issues: 49. Last activity: 2d ago. Community health: 62%. Top contributors: adamwathan, RobinMalfait, depfu[bot], thecrypticace, dependabot-preview[bot], reinink, philipp-spiess, bradlc, dependabot-support, MichaelDeBoey and others.
TypeScript
Last 12 weeks ยท 109 commits
Summary This PR enables coverage for Sass/SCSS usage with interpolation () in the codemod. The codemod already handles in , but the corresponding test was previously skipped with a TODO. This change removes the skip and updates the comment so CI will catch regressions and the supported behavior stays documented. Test plan Updated the existing unit test in by un-skipping the case and verifying the expected output snapshot. Local verification (limited in this environment): ensured lint/pre-commit formatting passes and that the change is isolated to tests only. Recommended CI/local verification in a full dev environment (with Rust toolchain available): ```sh pnpm install pnpm test
What version of Tailwind CSS are you using? tailwindcss@4.2.0 What build tool (or framework if it abstracts the build tool) are you using? "next": "16.1.6", What version of Node.js are you using? v24.12.0 What browser are you using? N/A What operating system are you using? macOS Describe your issue After running the npx @tailwindcss/upgrade command, I can't perform any further actions. Flow: Need to install the following packages: @tailwindcss/upgrade@4.2.1 Ok to proceed? (y) y It gets stuck at this stage
Summary This PR adds a new package that provides a dedicated webpack loader for Tailwind CSS v4. This loader works with both standard webpack and Turbopack's webpack loader compatibility layer. Why a dedicated loader? The current webpack integration uses + . While this works, a dedicated loader: Eliminates PostCSS as a middleman - works directly with CSS strings (no AST conversions) Simpler and more efficient - follows the same pattern as Better for Turbopack** - gives direct control over dependency reporting via webpack's loader API How it works The loader mirrors the Vite plugin's approach: 1. Uses from to parse CSS and resolve directives 2. Uses from to scan content files for utility candidates 3. Reports dependencies via and 4. Optionally optimizes output with Lightning CSS Usage Options The base directory to scan for class candidates (defaults to ) Whether to optimize/minify the output CSS (defaults to in production) Files added New package Main loader implementation CommonJS entry point for webpack compatibility , , , Integration tests Added webpack override for transitive dependencies Test plan [x] Build test - verifies basic compilation [x] Watch test - verifies HMR when adding new Tailwind classes [x] test - verifies directives work correctly [x] Optimization test - verifies minification works
What version of Tailwind CSS are you using? v4.2.0 What build tool (or framework if it abstracts the build tool) are you using? tailwindcss-ruby 4.2.0 What version of Node.js are you using? N/A What browser are you using? N/A What operating system are you using? macOS Reproduction URL https://github.com/lk-umetsu/tailwind-ruby-heredoc-issue Describe your issue Reproduces an issue in tailwindcss-ruby v4.2.0 where class names inside Ruby heredoc interpolation (#{...}) are not scanned, while the same pattern in regular strings works fine. Expected behavior: String literals inside interpolation within a heredoc should be detected as class candidates, consistent with how they are handled in regular string interpolation.