fix(tailwind): revert tailwind back to v3 for main app#1456
Merged
waleedlatif1 merged 3 commits intostagingfrom Sep 26, 2025
Merged
fix(tailwind): revert tailwind back to v3 for main app#1456waleedlatif1 merged 3 commits intostagingfrom
waleedlatif1 merged 3 commits intostagingfrom
Conversation
Contributor
There was a problem hiding this comment.
Greptile Overview
Summary
This PR reverts Tailwind CSS from v4 back to v3.4.1 for the main app to avoid the extensive refactoring required by v4. The changes are clean and appropriate:
- Removed
@tailwindcss/postcssv4.1.13 dependency from devDependencies - Removed
autoprefixerplugin from PostCSS configuration (not needed with Tailwind v3) - Added back
@opentelemetry/exporter-jaegerandencodingdependencies that were removed during v4 migration - Updated bun.lock to reflect all dependency changes
The revert is well-executed with no breaking changes to the existing Tailwind v3 configuration, and the PostCSS setup is correctly simplified for v3 compatibility.
Confidence Score: 5/5
- This PR is extremely safe to merge with no risk of breaking changes
- Score reflects a clean revert to a known stable configuration with proper dependency management and no logic changes to application code
- No files require special attention - all changes are straightforward dependency reverts
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| apps/sim/package.json | 5/5 | Properly reverted from Tailwind v4 to v3 by removing @tailwindcss/postcss v4.1.13 dependency and adding back OpenTelemetry Jaeger exporter and encoding dependencies |
| apps/sim/postcss.config.mjs | 5/5 | Correctly removed autoprefixer plugin from PostCSS config to match Tailwind v3 setup |
| bun.lock | 5/5 | Lock file updated to reflect dependency changes - removed Tailwind v4 dependencies and added back required OpenTelemetry and encoding packages |
Sequence Diagram
sequenceDiagram
participant Dev as Developer
participant Pkg as package.json
participant Post as postcss.config.mjs
participant TW as Tailwind CSS
participant Build as Build System
Dev->>Pkg: Remove @tailwindcss/postcss v4.1.13
Dev->>Post: Remove autoprefixer plugin
Dev->>Pkg: Keep tailwindcss v3.4.1 in devDependencies
Dev->>Pkg: Add back @opentelemetry/exporter-jaeger and encoding
Note over TW: Tailwind v4 → v3 revert
Build->>Post: Read PostCSS config
Post->>TW: Initialize with tailwindcss plugin only
TW->>Build: Generate CSS using v3 syntax
Build->>Build: Complete build process
2 files reviewed, no comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
revert tailwind back to v3 for main app, since v4 requires a lengthy refactor
Type of Change
Testing
N/A, reverting
Checklist