Skip to content

fix(@angular/build): allow tailwindcss 4.x as a peer dependency #29497

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
Jan 27, 2025

Conversation

clydin
Copy link
Member

@clydin clydin commented Jan 27, 2025

To support usage of the newly released Tailwind CSS 4.0.0, the peer dependency range has been update to include ^4.0.0. This prevents potential installation warnings/error when using various package managers. Use of Tailwind CSS 4+ requires either the application (new project default) or browser-esbuild builder. Both of which support custom postcss configuration via a .postcssrc.json file.

For instructions on the setup of Tailwind CSS with Angular, please see the Tailwind CSS documentation here: https://tailwindcss.com/docs/installation/framework-guides/angular

(cherry picked from commit 694ef8e)

To support usage of the newly released Tailwind CSS 4.0.0, the peer dependency
range has been update to include `^4.0.0`. This prevents potential installation
warnings/error when using various package managers.
Use of Tailwind CSS 4+ requires either the `application` (new project default) or
`browser-esbuild` builder. Both of which support custom postcss configuration
via a `.postcssrc.json` file.

For instructions on the setup of Tailwind CSS with Angular, please see the
Tailwind CSS documentation here: https://tailwindcss.com/docs/installation/framework-guides/angular

(cherry picked from commit 694ef8e)
@clydin clydin added the target: patch This PR is targeted for the next patch release label Jan 27, 2025
@clydin clydin requested a review from alan-agius4 January 27, 2025 17:37
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Jan 27, 2025
@clydin clydin merged commit d53d25f into angular:19.1.x Jan 27, 2025
33 checks passed
@clydin clydin deleted the tailwindv4-19.1.x branch January 27, 2025 18:26
onur-ozguzel added a commit to onur-ozguzel/skinet that referenced this pull request Jan 30, 2025
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: @angular/build target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants