gulp-postcss-rtlcss

Gulp plugin that uses POSTCSS-RTLCSS to convert LTR CSS to RTL.


Keywords
convert, css, gulpplugin, rtl, postcss-rtlcss
License
MIT
Install
npm install gulp-postcss-rtlcss@1.0.0

Documentation

gulp-postcss-rtlcss

MIT Licence NPM Version Build Status Dependency Status Language grade: JavaScript

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.