Skip to content
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

Move optimizeCss to the packages where it's used #13230

Merged
merged 8 commits into from
Mar 13, 2024

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Mar 13, 2024

Right now optimizeCss lives in tailwindcss, but it is not used within the tailwindcss package itself (apart from tests).

It's currently only used in our packages that users interact with directly:

  • @tailwindcss/cli
  • @tailwindcss/postcss
  • @tailwindcss/vite

This PR moves optimizeCss to the packages listed above, the lightningcss dependency is also moved to those packages.

This means that tailwindcss itself is now dependency free.

@RobinMalfait RobinMalfait marked this pull request as draft March 13, 2024 13:32
@RobinMalfait RobinMalfait changed the title Move optimizeCss to a separate package Move optimizeCss to the packages where it's used Mar 13, 2024
@RobinMalfait RobinMalfait marked this pull request as ready for review March 13, 2024 15:52
@RobinMalfait RobinMalfait merged commit 0ee3508 into next Mar 13, 2024
1 check passed
@RobinMalfait RobinMalfait deleted the feat/move-optimize-css branch March 13, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants