mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
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.
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user