Skip to content

Add support for postcss-rtlcss for angular build #26867

@nofalx

Description

@nofalx

Command

build

Description

A common issue faced by the arab and rtl speaking communities is that angular limits the postcss configs, and therefore it prevents their ability to use the industry standard rtlcss. In other frameworks like react the user is able to configure the postcss configs and therefore is able to use tool like postcss-rtlcss

To support the argument further, we can take a look at one of the most popular bootstrap and their recommendation of using rtlcss

Describe the solution you'd like

As we understand angular team would like to maintain exclusive control over the postcss configuration. We would like to see a similar implementation to the solution provided for tailwind by looking for a specific config file such as rtlcss.config and adding it to the list of postcss plugins if it exists.

A similar approach on how angular handles the tailwind plugin

Describe alternatives you've considered

Currently we were relying on custom webpack overriding libraries such as ngx-build-plus, however these are broken with the new build system and therefore it would be best if angular provide an official support for rtlcss plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions