diff --git a/client/config/webpack.config.js b/client/config/webpack.config.js index f671e349b..c33bfc4a8 100644 --- a/client/config/webpack.config.js +++ b/client/config/webpack.config.js @@ -103,6 +103,11 @@ module.exports = function(webpackEnv) { // so that it honors browserslist config in package.json // which in turn let's users customize the target behavior as per their needs. postcssNormalize(), + + // Postcss rtlcss plugin. + require( 'postcss-rtl' )({ + // options here. + }), ], sourceMap: isEnvProduction && shouldUseSourceMap, }, diff --git a/client/package.json b/client/package.json index e1aabffbe..91357cf2d 100644 --- a/client/package.json +++ b/client/package.json @@ -61,6 +61,7 @@ "postcss-loader": "3.0.0", "postcss-normalize": "8.0.1", "postcss-preset-env": "6.7.0", + "postcss-rtl": "^1.7.3", "postcss-safe-parser": "4.0.1", "ramda": "^0.27.1", "react": "^16.12.0", diff --git a/client/public/index.html b/client/public/index.html index 35b8d3acb..9a52dc7d6 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -1,5 +1,5 @@ - +