RTLCSS Plugin is a Simple & Updated Webpack RTLCSS Plugin to help you transform your entire website to support Right-To-Left.
npm i rtlcss-pluginmodule.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'
})
],
}