Automate Grunt load tasks

Handy plugin load-grunt-tasks reduces...

// Load Grunt plugins.
grunt.loadNpmTasks('grunt-browser-sync');  
grunt.loadNpmTasks('grunt-contrib-compass');  
grunt.loadNpmTasks('grunt-contrib-jshint');  
grunt.loadNpmTasks('grunt-contrib-uglify');  
grunt.loadNpmTasks('grunt-contrib-watch');  
grunt.loadNpmTasks('grunt-postcss');  

to

// Load Grunt plugins.
require('load-grunt-tasks')(grunt);

More on supercharging Grunt here.

Show Comments