Hello,
I encountered an issue where gulp-csscomb causes the Gulp process to hang when working with SCSS files that use modern media query syntax with logical operators (<=, >=). The compilation works fine if I comment out the csscomb step, so it seems that the issue lies with this plugin.
Here is a minimal example of SCSS that causes the problem:
@media (768px <= width <= 991.8px) {
.example {
color: red;
}
}
Environment:
- Node.js version:
XX.X.X
- Gulp version:
5.0.0
- gulp-csscomb version:
3.1.0
- Sass version:
1.75.0 (Dart Sass)
Steps to Reproduce:
- Add the above SCSS code to your project.
- Use
gulp-csscomb in the Gulp pipeline.
- Run the Gulp task, and observe that the process hangs indefinitely.
Expected Behavior:
The SCSS file should be processed without any issues.
Actual Behavior:
The Gulp process hangs and does not complete.
Workaround:
Disabling the gulp-csscomb step resolves the issue, but it is not an ideal solution.
Additional Context:
It seems that csscomb does not yet support modern SCSS syntax, particularly logical operators in media queries. Could you please provide an update or guidance on how to proceed?
Thank you for your help!


Hello,
I encountered an issue where
gulp-csscombcauses the Gulp process to hang when working with SCSS files that use modern media query syntax with logical operators (<=,>=). The compilation works fine if I comment out thecsscombstep, so it seems that the issue lies with this plugin.Here is a minimal example of SCSS that causes the problem:
Environment:
XX.X.X5.0.03.1.01.75.0(Dart Sass)Steps to Reproduce:
gulp-csscombin the Gulp pipeline.Expected Behavior:
The SCSS file should be processed without any issues.
Actual Behavior:
The Gulp process hangs and does not complete.
Workaround:
Disabling the
gulp-csscombstep resolves the issue, but it is not an ideal solution.Additional Context:
It seems that
csscombdoes not yet support modern SCSS syntax, particularly logical operators in media queries. Could you please provide an update or guidance on how to proceed?Thank you for your help!

