laravel-elixir-css-rtl
v0.1.1
Published
Laravel Elixir CSS rtl
Downloads
12
Readme
The library converts css to support rtl using rtlcss package
Example Gulpfile
var elixir = require("laravel-elixir");
require('laravel-elixir-css-rtl');
elixir(function(mix) {
mix.cssrtl('css.css', 'public/assets/styles');
});
Arguments
source
:
- a globbing path that is passed to
gulp.src()
- defaults to
public/assets/styles/default.css
output
:
- output directory for the compiled file
- defaults to
public/assets/styles/default-rtl.css
postfix
:
- will be added to the output file name, i.e default.css will be default-{postfix}.css
- defaults to
rtl
Advanced example
elixir(function(mix) {
mix.cssrtl('*.css', 'public/assets/styles', 'rtl');
});