Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

NOTE: Please transition to using rtlcss directly, this is no longer maintained -- Webpack Plugin to operate Right-to-Left operations over .css

License

Notifications You must be signed in to change notification settings

godaddy/webpack-rtlcss-plugin

Repository files navigation

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.

About

NOTE: Please transition to using rtlcss directly, this is no longer maintained -- Webpack Plugin to operate Right-to-Left operations over .css

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published