It seems rtlcss isn't working with postcss-js:
var postcss = require('postcss-js');
var rtlcss = require('rtlcss');
var autoprefixer = require('autoprefixer');
var process = postcss.sync([ rtlcss, autoprefixer ]);
var css = {'.foo': {
borderColor: 'red green blue black',
left: '5px',
transition: 'width 5s'
}};
console.log(process(css));
/*
{'.foo': {
borderColor: 'red green blue black',
left: '5px',
WebkitTransition: width 5s ease,
transition: 'width 5s ease'
}}
*/
Example:
http://requirebin.com/?gist=df4a18c20ba922ad02c2
It seems rtlcss isn't working with postcss-js:
Example:
http://requirebin.com/?gist=df4a18c20ba922ad02c2