This PR adds RTLCSS to the webpack build process (which requires a custom webpack.config.js, but we can inherit most of the configuration). This also fixes an issue with ratings on RTL sites.
Note that I added a PR to wp-scripts to add RTLCSS there. I'm still going to merge this since I don't know how quickly that would make it through, but maybe we'll be able to remove it in a few weeks 🤞🏻
This PR adds RTLCSS to the webpack build process (which requires a custom webpack.config.js, but we can inherit most of the configuration). This also fixes an issue with ratings on RTL sites.
Fixes #47, See https://github.com/WordPress/wporg-main-2022/issues/124
Screenshots
How to test the changes in this Pull Request:
yarn
yarn build:theme
-rtl.css
files in the build output & build folder