gulp-postcss-rtlcss
Gulp plugin that uses postcss-rtlcss to convert LTR CSS to RTL.
Install
$ npm install --save-dev gulp-postcss-rtlcss
Basic Usage
var gulp = require('gulp');
var rtlcss = require('gulp-postcss-rtlcss');
gulp.task('default', function () {
return gulp.src('styles.css')
.pipe(rtlcss())
.pipe(gulp.dest('dist'));
});
Configuration
The plugin optionally accepts POSTCSS-RTLCSS
configuration either as an argument.
See the POSTCSS-RTLCSS documentation for more information about accepted configuration.
Change Log
See CHANGELOG.md.