diff --git a/gruntfile.js b/gruntfile.js index 8094a9619..5e56b9b00 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -265,11 +265,12 @@ module.exports = function(grunt) { childPackageFiles: { expand: true, src: [ - localCfg.srcDir + "/**/package.json", - "!./package.json", - "!./Deploy/**/*.*", - "!./bin/**/*.*", - "!./Tests/**/*.*", + "**/package.json", + "!package.json", + "!Deploy/**/*.*", + "!bin/**/*.*", + "!Tests/**/*.*", + "!node_modules/**/*.*", "!" + localCfg.outDir + "/**/*.*" ], dest: localCfg.outModulesDir + "/"