When I use mode:production, then rtlcss framework doesn't support the control directives of rtlcss.
In production we have the particular optimization.
Hope this doesn't affect the functionality of webpack-rtl-plugin?
optimization: {
minimize: true,
minimizer: [
new TerserPlugin(),
new OptimizeCSSAssetsPlugin({
cssProcessorPluginOptions: {
cssProcessor: require('cssnano'),
}
}