Skip to content

Use native @tailwindcss/webpack loader in preset-tailwindcss-4#207

Open
titouanmathis wants to merge 3 commits intomasterfrom
feature/tailwindcss-webpack-plugin
Open

Use native @tailwindcss/webpack loader in preset-tailwindcss-4#207
titouanmathis wants to merge 3 commits intomasterfrom
feature/tailwindcss-webpack-plugin

Conversation

@titouanmathis
Copy link
Collaborator

Replace @tailwindcss/postcss with the native @tailwindcss/webpack loader introduced in Tailwind CSS v4.2.0. The loader replaces postcss-loader entirely in CSS rules and handles candidate scanning and incremental rebuilds natively. Optimization is disabled (optimize: false) to keep using the existing CssMinimizerPlugin.

@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (40c0995) to head (cce81a6).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #207   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
===========================================
  Files              6         1    -5     
  Lines            280       191   -89     
===========================================
- Hits             280       191   -89     
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant