[newfeature]: PostCSS in Angular projects #30197
leblancmeneses
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In previous discussions, this was closed because Angular was not going to support PostCSS: #9650 .
However, PostCSS custom configuration is now supported in Angular CLI: https://github.com/angular/angular-cli/blob/717d7cbf421f8b56d32739f8bef6dc606d96f387/packages/angular/build/src/utils/postcss-configuration.ts#L20
It would be great if the Nx team could revisit this. angular/angular-cli#27819 .
In an Nx Angular project, I'm able to add the JSON configuration, and it correctly reads a custom plugin I wrote. However, the
@nx/angular:setup-tailwind
setup does not yet work well with this.When using a postcss.config.json that looks like:
Beta Was this translation helpful? Give feedback.
All reactions