mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
c443050093
## Summary Use `@tailwindcss/turbopack` and a Turbopack CSS loader rule for Tailwind projects generated with Turbopack, avoiding the PostCSS setup in the default path. Keep `@tailwindcss/postcss` and `postcss.config.mjs` for non-Turbopack bundlers, and update create-next-app production coverage to verify generated configuration, dependencies, and rendered Tailwind styles. ## Verification - `pnpm test-start-turbo test/production/create-next-app/templates/app.test.ts -t "should create TailwindCSS project with --tailwind flag"` - `pnpm test-start-rspack test/production/create-next-app/templates/app.test.ts -t "should create TailwindCSS project with --tailwind flag"` <!-- NEXT_JS_LLM -->