Skip to content

bumping tailwindcss to latest version #1244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025
Merged

Conversation

polatengin
Copy link
Collaborator

This pull request refactors the frontend build process by replacing the standalone Tailwind CSS setup with a PostCSS-based workflow. It also updates related dependencies and configuration files to align with this change. Below are the most important changes grouped by theme.

Build Process Refactor:

  • Replaced Tailwind CSS's direct usage with a PostCSS-based workflow in the compile script of package.json. The script now uses postcss with a custom configuration file (postcss.config.js) instead of invoking tailwindcss directly.

Dependency Updates:

  • Updated tailwindcss to version 4.1.10 and replaced autoprefixer with @tailwindcss/postcss and cssnano in package.json. Added postcss-cli as a new dependency. [1] [2] [3]

Configuration Changes:

  • Replaced the tailwind.config.js file with inline @theme and @source directives in index.css. This eliminates the need for a separate Tailwind configuration file. [1] [2]
  • Updated postcss.config.js to include @tailwindcss/postcss and cssnano plugins for processing CSS.

@polatengin polatengin self-assigned this Jun 23, 2025
@polatengin polatengin requested a review from BSamodien as a code owner June 23, 2025 19:35
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.46%. Comparing base (6482053) to head (7992e6f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1244   +/-   ##
=======================================
  Coverage   53.46%   53.46%           
=======================================
  Files          46       46           
  Lines        3346     3346           
  Branches      901      901           
=======================================
  Hits         1789     1789           
  Misses       1557     1557           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codecov-commenter
Copy link

Bundle Report

Bundle size has no change ✅

@polatengin polatengin merged commit 1ac5934 into main Jun 25, 2025
8 of 10 checks passed
@polatengin polatengin deleted the polatengin/bump-tailwindcss branch June 25, 2025 17:30
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.

3 participants