GRTLCSSBuilder

Converts css files into rtl(right-to-left) format using gulp-rtlcss plugin.

Builder specific Options

None

Module Options

  • BuildConfig.moduleOptions.rtlcss: Option for gulp-rtlcss module.
  • BuildConfig.moduleOptions.rename: Options for gulp-rename module, which is used to change the output names.

Example

const rtl = {
name: 'rtl',
builder: 'GRTLCSSBuilder',
src: [upath.join(destRoot, 'css/*.css')],
dest: upath.join(destRoot, 'css'),
moduleOptions: {
// if no rename option is set, default is {suffix: '-rtl'}
rename: { suffix: '---rtl' }
},
};