项目作者: godaddy

项目描述 :
Webpack Plugin to operate Right-to-Left operations over .css
高级语言: JavaScript
项目地址: git://github.com/godaddy/webpack-rtlcss-plugin.git
创建时间: 2020-03-04T17:59:45Z
项目社区:https://github.com/godaddy/webpack-rtlcss-plugin

开源协议:MIT License

下载


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

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

Usage

  1. const RTLPlugin = require('@godaddy/webpack-rtlcss-plugin');
  2. // Within Webpack config
  3. plugins: [
  4. ...other webpack plugins
  5. new RTLPlugin()
  6. ],

Example

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