1.0.0 • Published 4 years ago

@godaddy/webpack-rtlcss-plugin v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

webpack-rtlcss-plugin

Webpack plugin that takes a .css chunk and processes RTL (right to left) conversion. Unlike other Webpack RTL plugins, this plugin DOES NOT create a separate .css file.

Uses rtlcss under the hood. For more information on how to utilize rtlcss check out the rtlcss docs.

Install

npm install @godaddy/webpack-rtlcss-plugin --save-dev

Usage

const RTLPlugin = require('@godaddy/webpack-rtlcss-plugin');

// Within Webpack config

plugins: [
  ...other webpack plugins
  new RTLPlugin()
],

Example

Check out the test webpack config to see an example of how @godaddy/webpack-rtlcss-plugin works with mini-css-extract-plugin.