feat: postcss RTL automated convert.

This commit is contained in:
a.bouhuolia
2021-06-07 18:58:25 +02:00
parent a70fd300f2
commit d520e016f2
3 changed files with 7 additions and 1 deletions

View File

@@ -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,
},