You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far Angular build only supports postcss configs in JSON format but JS-based configs aren't picked up.
However, using JS-based configs allows conditional configuration e.g. based on the current build, which makes using postcss more flexible as when using static JSON configs.
Is there a serious reason not to support JS configs? At a first glance it should be pretty straightforward to support those formats, too, without overcomplicating things. So, I'd like to request support for JS based postcss configs.
Thank you!
Describe the solution you'd like
Add support for postcss.confi.js / postcssrc.js
Describe alternatives you've considered
An alternative would be to configure a specific postcss.config.json per build configuration via angular.json, but to me this feels overcomplicating things compared to supporting JS format.
Activity
angular-automatic-lock-bot commentedon May 13, 2026
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.