webpack-contrib / mini-css-extract-plugin

Lightweight CSS extraction plugin
MIT License
4.66k stars 389 forks source link

Can we ignore some code while minify css file? #1087

Closed shamim-apex closed 6 months ago

shamim-apex commented 6 months ago

For example i wan't to put some logic in my css class like

.background { <# if(variable == true) {> background: transparent; <# } }

and the plug in let me ignore these <# #> syntax and build it successfully. Documentation Is:

alexander-akait commented 6 months ago

Answered. No. Please don't duplicate issues, thank you