grunt-usemin-patterns
Ready-to-use patterns for applying
grunt-usemin
on Jade and other templating languages
Install
Get it from npm.
npm i --save-dev grunt-usemin grunt-usemin-patterns
Use matchdep to load your Grunt plugins.
npm i --save-dev matchdep
Then, rather than all the calls to grunt.loadNpmTask()
, use this one liner.
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
Usage
USAGE
License
MIT