Skip to content

fix(nf): add support for tailwind 4 with only postcssconfig file - #965

Merged
Aukevanoost merged 1 commit into
angular-architects:mainfrom
JGhignatti:fix/#964-tw4-postcss-support
Oct 20, 2025
Merged

fix(nf): add support for tailwind 4 with only postcssconfig file#965
Aukevanoost merged 1 commit into
angular-architects:mainfrom
JGhignatti:fix/#964-tw4-postcss-support

Conversation

@JGhignatti

Copy link
Copy Markdown
Contributor

While creating the plugin options passed to ESBuild, only the TailwindCSS config file was being used.
With TailwindCSS v4, it is possible to have a setup without a tailwind.config.js file, only a .postcssrc.json file. The PostCSS config is now used if present, the same way as Angular does.

Closes #964

@JGhignatti

Copy link
Copy Markdown
Contributor Author

This PR fixes the lint error causing the pipeline to fail.

@Aukevanoost

Aukevanoost commented Oct 20, 2025

Copy link
Copy Markdown
Collaborator

Hi @JGhignatti,

I appreciate the work you've put in these PR's. I'll take a look!

@Aukevanoost
Aukevanoost merged commit 3d29fd4 into angular-architects:main Oct 20, 2025
1 check failed
@JGhignatti

Copy link
Copy Markdown
Contributor Author

Hi @Aukevanoost thanks for your help here and all around this project.
Do you think we could get a new release with this PR soon? It's preventing TailwindCSS v4 to properly work and I wasn't able to find a workaround.

@Aukevanoost

Copy link
Copy Markdown
Collaborator

Hi @JGhignatti,

Yeah I'd say so, but unfortunately no promises and it might take a bit. We're processing some other PR's as well.

@JGhignatti

Copy link
Copy Markdown
Contributor Author

No problem. I'll keep an eye open for new versions, and new issues I can help on. Thanks again @Aukevanoost.

@Aukevanoost

Copy link
Copy Markdown
Collaborator

Hey @JGhignatti, Just wanted to tell you that I think the next release might take a little longer. I'm aiming for half December. Sorry for the inconvenience

@Aukevanoost

Copy link
Copy Markdown
Collaborator

Hi @JGhignatti, hope you're alright

It seems like your PR broke something on this issue, would you mind taking a look if we're missing something?

Thanks a bunch in advance

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.

PostCSS not running for exposed Component's styles

2 participants