Open sindilevich opened 9 years ago
It would be super easy to add to the LESS CLI compiler that this extension uses, since there already exist a plugin for it just like for Autoprefixer and CssComb that we're using. However, doing it for Sass isn't easy until I rewrite the infrastructure to use a node.js server instead of shelling out to the CLI.
@madskristensen @sindilevich - I was previously able to use the run RTLCSS within WebCompiler in VS2013 to achieve the RTL css files but now I have VS2019.
I need something in the short-term to be able to compile the RTLs and as this isn't something available in WebCompiler, is the R2 repository you have linked above doing exactly what the RUN RTLCSS did in VS2013?
(really don't want to install vs2013 just so I can compile RTL files)
Suggesting adding an option to LESS/SASS compiler, which instructs it to produce an right-to-left version of the source file. There are already tools, like https://github.com/ded/R2, which convert CSS files to their RTL versions. The above tool can be used as a pipe of LESS/SASS compiler's output, or as a node module.
Ideally, this option should, when enabled, should run on an unmodified version of the compiled CSS. However, when both rtl and minify options are enabled, the RTL version should be minified as well.