rtltr-for-less

0.0.7 • Public • Published

RTL/LTR for Less

This is an extension module that adds automatic rtl/ltr file generation for code that uses https://npmjs.org/package/less-middleware for less generation.

Asking for "style.css" will generate "style.css", "style.ltr.css" and "style.rtl.css"

Conversly, asking for "style.rtl.css" or "style.ltr.css" will internally look for "style.less" and convert it to the abovementioned three files.

NOTE This only works with version of less-middleware for which the PR at https://github.com/emberfeather/less.js-middleware/pull/76 has been merged in.

Until then, this works with the less-middleware fork over at:

https://github.com/Pomax/less.js-middleware/archive/master.tar.gz

Dependents (1)

Package Sidebar

Install

npm i rtltr-for-less

Weekly Downloads

3

Version

0.0.7

License

none

Last publish

Collaborators

  • pomax