

gulp-group-css-media-queries - group css rules in media queries that is very useful if you like to write nested media-queries in css preprocessors.Īfter its completion all our sass code will compile into css, then it will gather all css rules to matching media-queries, set browser vendor prefixes to css rules according to browsers supported in your configuration and Can I Use base.gulp-bless - split css files for IE gulp-csscomb - sort, change code style of css rules, you can use your own configuration for sorting according to your own code style.gulp-autoprefixer - add all missing browser prefixes using Can I Use database.gulp-ruby-sass - compiles sass to css, compass mixins can be used.If you use less you can use gulp-less plugins instead sass. Here we’ll define compilation scss files to css, auto prefix them, sort and minify. gulp-plumber - prevents task breaking on errors.We’ll use the following conribute gulp plugins(if you want to see all available configuration options you can visit their pages on - the repository of all Node.js packges, here you can find a lot of other plugins useful): Let’s define tasks for each workflow process. To run a task write gulp ‘name of task’ or only gulp for default task in Node.js prompt. As you can see all tasks stream through your files and then change.
#Phpstorm minify css install

Here I’ll show the Gulp integration Drupal theme with IE, later than version 8. That is one of the many reasons I highly recommend using Gulp.js as build system for front-end projects like Drupal theme. To write a task for that takes much more time, API knowledge and lines of written code. Grunt is harder for usage and making config files. In Gulp you set what files you want to watch and what to do when one of them changes. The most useful built-in method is what Grunt presented as a plugin with a simple configuration. Its simple API has only 5 methods and it is easy to start writing your own configured tasks after reading the get started article. Gulp works around streams and can be explained in 3 words: source, action and destination. Gulp is often prefered to use as linear building system, but with Grunt you can make more complex tasks with some logic built in, but you will pay the price with a more complicated configuration and a longer task run time.

There are few other tools around for building project processes. So, why not? Let's make these machines work for us. If you’re one of those programmers, consider streaming the building system Gulp.js - it can do a lot of work for you, such as compilation, minification and more, leaving you with room for creativity! It builds on Node.js and works faster than other systems like Grunt.js and has a simpler configuration. Programmers are always looking for ways to rid themselves of the monotony of routine and be more efficient. This desire has emerged more than ever in the constantly changing world of technology. As humans, we have always tried to develop ways get more work done in a shorter amount of time and reduce man hours.
