Y
Y
Yuri Kucherenko2015-10-31 14:19:53
HTML
Yuri Kucherenko, 2015-10-31 14:19:53

Why doesn't gulp-combine-media-queries work?

Good everyone!
I can not steer how to solve the issue with cmq
1) Installed - npm install gulp-combine-media-queries --save-dev
2) Added a variable - cmq = require('gulp-combine-media-queries');
3) I added sass to the tax - .pipe(cmq())
And as soon as I complete the third step, the gallp swears at some kind of syntax error, from which x I don’t know, I immediately began to google and rested on the comment of the chela on the github who said
- "The problem occurs when you try to include another file in a file that is included by itself. As I understand it, it does not support recursive insertion"
When I remove the third step and restart the gallp, everything works fine (without cmq, of course) in general, I uploaded everything to the hub without deleting the third step, I immediately swear with it.
GitHub
I want it to work like this - on the left, the sass on the right is the result after compiling, all the media are stored in the file itself and combined, and all this is done by cmq
Screen troubles, thanks to everyone in advance
580f88523af54b42ba5ea9e0762ecdae.jpg
PS Node - 4.2.1 / "gulp": "^3.9. 0",

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Khokhlov, 2015-10-31
@litlleidiot

He broke down with a new node and something is not being repaired.
Try https://www.npmjs.com/package/gulp-group-css-media...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question