Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtlcss directives are not working if webpack mode is production in webpack-rtl-plugin #38

Open
Souravbdr opened this issue Feb 3, 2022 · 1 comment

Comments

@Souravbdr
Copy link

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'),
}
}

@dubisoft-solutions
Copy link

I have the same issue. It seems it does not work, because during sass to css translation comments get removed. any ideas how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants