Skip to content

Simple & Updated Webpack RTLCSS Plugin to help you transform your entire website to support Right-To-Left.

Notifications You must be signed in to change notification settings

elquchiri/rtlcss-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

RTLCSS-Plugin for Webpack

RTLCSS Plugin is a Simple & Updated Webpack RTLCSS Plugin to help you transform your entire website to support Right-To-Left.

Installation

npm i rtlcss-plugin

Use:

module.exports = {
    entry: {
      app: []
    },
    output: {
      path: path.resolve(__dirname, 'public/build'),
      filename: '[name].js',
      publicPath: '/build/',
    },
    module: {
      rules: [
        {
          test: /\.scss$/,
          use: [
            miniCssExtractPlugin.loader,
            'css-loader',
            'sass-loader',
          ],
        },
      ],
    },
    plugins: [
      new RtlCssPlugin({
        filename: 'app-rtl.css'
      })
    ],
}

About

Simple & Updated Webpack RTLCSS Plugin to help you transform your entire website to support Right-To-Left.

Resources

Stars

Watchers

Forks

Packages

No packages published