We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
You need to create an rtlcss instance as:
var process = postcss.sync([ rtlcss(), autoprefixer ]);
Then I need to fix an issue caused by not having a source file, which will cause an exception here
Give me a minute to publish a fix.
Thanks!
Sorry, something went wrong.
7fff672
Fix released in 1.7.2
No branches or pull requests
It seems rtlcss isn't working with postcss-js:
Example:
http://requirebin.com/?gist=df4a18c20ba922ad02c2
The text was updated successfully, but these errors were encountered: