This repository was archived by the owner on May 13, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,11 +56,8 @@ module.exports = function(grunt) {
5656 }
5757 } ) ;
5858
59- grunt . loadNpmTasks ( 'grunt-contrib-copy' ) ;
60- grunt . loadNpmTasks ( 'grunt-contrib-clean' ) ;
61- grunt . loadNpmTasks ( 'grunt-contrib-watch' ) ;
62- grunt . loadNpmTasks ( 'grunt-contrib-sass' ) ;
63- grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
59+ // load all grunt tasks
60+ require ( 'matchdep' ) . filterDev ( 'grunt-*' ) . forEach ( grunt . loadNpmTasks ) ;
6461
6562 //load the patternlab task
6663 grunt . task . loadTasks ( './builder/' ) ;
Original file line number Diff line number Diff line change 88 "grunt-contrib-sass" : " ~0.2.2" ,
99 "grunt-contrib-copy" : " ~0.4.0" ,
1010 "grunt-contrib-jshint" : " ~0.4.0" ,
11- "grunt-contrib-clean" : " ~0.5.0"
11+ "grunt-contrib-clean" : " ~0.5.0" ,
12+ "matchdep" : " ~0.3.0"
1213 }
1314}
You can’t perform that action at this time.
0 commit comments