From e427fd5422809d1d343709860d9141efbb5c80cb Mon Sep 17 00:00:00 2001 From: Erjan Gavalji Date: Wed, 29 Jul 2015 11:44:34 +0300 Subject: [PATCH] Fix module package.json file copying The package.json files in the module dirs were not copied properly due to the grunt-contrib-copy update. Fix that by adding an expand clause to the copy tasks. --- gruntfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gruntfile.js b/gruntfile.js index 4a4f2dd1e..53f50f3d7 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -231,6 +231,7 @@ module.exports = function(grunt) { } }, modulesPackageDef: { + expand: true, src: localCfg.packageJsonFilePath, dest: localCfg.outModulesDir + "/", options: { @@ -254,6 +255,7 @@ module.exports = function(grunt) { } }, childPackageFiles: { + expand: true, src: [ localCfg.srcDir + "/**/package.json", "!./package.json",