When I run this plugin using Vite, I get the following warning:
A PostCSS plugin did not pass the from option to postcss.parse. This may cause imported assets to be incorrectly transformed. If you've recently added a PostCSS plugin that raised this warning, please contact the package author to fix the issue.
Looks like a similar issue, and a resolution, occurred for this PostCSS plugin: elchininet/postcss-rtlcss#160