Skip to content

Conversation

Timeless0911
Copy link
Contributor

Summary

Update tailwind v4 in test cases.

Related Links

https://tailwindcss.com/docs/installation

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Copilot Copilot AI review requested due to automatic review settings September 17, 2025 07:04
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates Tailwind CSS from v3 to v4 across test cases to align with the latest version and its new configuration approach.

  • Replaces v3 configuration files with v4's simplified import-based approach
  • Updates PostCSS configuration to use the new @tailwindcss/postcss plugin
  • Removes outdated configuration references and simplifies CSS imports

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/integration/style/tailwindcss/bundle/tailwind.config.cjs Removes v3 configuration file (no longer needed in v4)
tests/integration/style/tailwindcss/bundle/src/index.css Updates CSS import from v3 @tailwind utilities to v4 @import 'tailwindcss'
tests/integration/style/tailwindcss/bundle/postcss.config.cjs Simplifies PostCSS config to use new @tailwindcss/postcss plugin
tests/integration/style/tailwindcss/bundle/package.json Updates dependencies to Tailwind CSS v4.1.13 and adds PostCSS plugin
tests/integration/style/tailwindcss/bundle-false/tailwind.config.cjs Removes v3 configuration file (no longer needed in v4)
tests/integration/style/tailwindcss/bundle-false/src/index.ts Removes 'alert' class from test case
tests/integration/style/tailwindcss/bundle-false/src/index.css Updates CSS import from v3 @tailwind utilities to v4 @import 'tailwindcss'
tests/integration/style/tailwindcss/bundle-false/postcss.config.cjs Simplifies PostCSS config to use new @tailwindcss/postcss plugin
tests/integration/style/tailwindcss/bundle-false/package.json Updates dependencies to Tailwind CSS v4.1.13 and adds PostCSS plugin
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

netlify bot commented Sep 17, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 012def7
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/68ca5d6954bddf0008c1cc92
😎 Deploy Preview https://deploy-preview-1232--rslib.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@fi3ework fi3ework left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we reserve the current v3 tailwind test as v3 has 8M+ downloads while v4 has only 3M+ download as of now.

@Timeless0911
Copy link
Contributor Author

should we reserve the current v3 tailwind test as v3 has 8M+ downloads while v4 has only 3M+ download as of now.

No longer necessary I think, Tailwind css V3 was not published in a year. And Rsbuild does not keep v3 tests too.

@fi3ework fi3ework merged commit fb31cfa into main Sep 17, 2025
15 checks passed
@fi3ework fi3ework deleted the tailwind-v4 branch September 17, 2025 09:16
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.

2 participants