Skip to content

Conversation

@philipp-spiess
Copy link
Member

@philipp-spiess philipp-spiess commented Nov 18, 2024

Closes #15012

We do not have replacements for these plugins just yet. In order to increase compatibility with setups that rely on some of these legacy plugins, this PR bundles @tailwindcss/forms, @tailwindcss/typography, and @tailwindcss/aspect-ratio (after #15029) with the standalone build now.

In comparison to v3, this omits the @tailwindcss/container-queries plugin since is not a first-party feature of Tailwind CSS v4.

Test Plan

Added an integration test. I also tested this by running the standalone binary in a temporary folder with as simple input css:

@import "tailwindcss";
@plugin "@tailwindcss/typography";

@philipp-spiess philipp-spiess force-pushed the feat/bundle-core-plugins-with-standalone branch from e262e0f to 6cd3444 Compare November 18, 2024 10:26
@philipp-spiess philipp-spiess marked this pull request as ready for review November 18, 2024 10:27
@philipp-spiess philipp-spiess requested a review from a team as a code owner November 18, 2024 10:27
@philipp-spiess philipp-spiess marked this pull request as draft November 18, 2024 14:21
@philipp-spiess

This comment was marked as outdated.

@philipp-spiess philipp-spiess force-pushed the feat/bundle-core-plugins-with-standalone branch from 6cd3444 to 8e2d665 Compare November 19, 2024 09:41
@philipp-spiess philipp-spiess changed the title Bundle core @tailwindcss/forms and @tailwindcss/typography with the standalone build Bundle core plugins with the standalone build Nov 19, 2024
@philipp-spiess philipp-spiess force-pushed the feat/bundle-core-plugins-with-standalone branch from 8e2d665 to c3f796e Compare November 19, 2024 09:44
@philipp-spiess
Copy link
Member Author

This PR is ready for review again but it does have the @tailwindcss/aspect-ratio tests commented out until we land #15029

@philipp-spiess philipp-spiess marked this pull request as ready for review November 19, 2024 09:45
@philipp-spiess philipp-spiess merged commit e4bfa8c into next Nov 19, 2024
1 check passed
@philipp-spiess philipp-spiess deleted the feat/bundle-core-plugins-with-standalone branch November 19, 2024 15:19
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.

[v4] Can't find Plugins in standalone cli

3 participants