From dc974b56b2a4ee5765da78aa6cd0aeb27d974414 Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Thu, 23 Jan 2025 16:39:26 +0100 Subject: [PATCH] fix(cli): Pin TailwindCSS to v3 (#11920) --- .changesets/11920.md | 4 ++++ packages/cli/src/commands/setup/ui/libraries/tailwindcss.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changesets/11920.md diff --git a/.changesets/11920.md b/.changesets/11920.md new file mode 100644 index 000000000000..6fd2df72318b --- /dev/null +++ b/.changesets/11920.md @@ -0,0 +1,4 @@ +- fix(cli): Pin TailwindCSS to v3 (#11920) by @Tobbe + +Pinning TW to v3 for our `yarn rw setup ui tailwind` command until we've added +support for TW v4 diff --git a/packages/cli/src/commands/setup/ui/libraries/tailwindcss.js b/packages/cli/src/commands/setup/ui/libraries/tailwindcss.js index e8ce95182058..ed1bbf683adc 100644 --- a/packages/cli/src/commands/setup/ui/libraries/tailwindcss.js +++ b/packages/cli/src/commands/setup/ui/libraries/tailwindcss.js @@ -121,7 +121,7 @@ export const handler = async ({ force, install }) => { const webWorkspacePackages = [ 'postcss', 'postcss-loader', - 'tailwindcss', + 'tailwindcss@^3.4.17', 'autoprefixer', ]