mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
don't try to loadNpmTasks grunt-cli
This commit is contained in:
@@ -29,6 +29,7 @@ module.exports = function(grunt) {
|
||||
|
||||
Object.keys(grunt.file.readJSON('package.json').devDependencies)
|
||||
.filter(function(npmTaskName){ return npmTaskName.indexOf('grunt-') === 0;})
|
||||
.filter(function(npmTaskName){ return npmTaskName != 'grunt-cli' })
|
||||
.forEach(function(npmTaskName){
|
||||
grunt.loadNpmTasks(npmTaskName);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user