Closed DarkPreacher closed 10 years ago
I have the same problem. Any chance of fixing this?
Same for me. @konitter if you look at the Grunt version (https://github.com/JohnCashmore/grunt-combine-media-queries/blob/master/tasks/combine-media-queries.js) you are missing these:
// Process media queries
var processImportURL = function(importURL) {
var strCss = '';
strCss += '@import ' + importURL.import + ';';
return strCss;
};
// Function to import URL
var outputImportURL = function(importURL){
importURL.forEach(function(item){
strStyles += processImportURL(item);
});
};
// Check if import URL was processed
if (processedCSS.importURL.length !== 0){
outputImportURL(processedCSS.importURL);
}
Do you think is something you can fix?
copy that. it would be really nice if you could apply the fix
@konitter it would help if I prepare a fix it, and then do a pull request? would you merge my changes in the master branch then? I am absolutely not an expert of Gulp plugins, and it would take me some time, but if this could solve the problem...
Same problem here. Looking forward to a fix. :+1:
thanks for the merge. everything seems good now :)
Hi! There is a bug with @imports. Example file
style.less
:and nothing happens, output is empty.
Gulp task I'm using:
In
style.css
@imports exists, but instyle.min.css
@imports ripped out. If I comment.pipe(cmq())
— @imports comes back.