laravel-elixir-css-rtl

0.1.1 • Public • Published

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');
    });

Package Sidebar

Install

npm i laravel-elixir-css-rtl

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • syotams