diff --git a/scripts/create-root-package-json.ts b/scripts/create-root-package-json.ts index 27868af49f..8b65370fa6 100644 --- a/scripts/create-root-package-json.ts +++ b/scripts/create-root-package-json.ts @@ -46,7 +46,7 @@ cli.main(async () => { 'packages/spatial', 'packages/visual-script', 'packages/xrui', - 'packages/projects/projects/*' + 'packages/projects/projects/**' ] fs.writeFileSync(join(appRootPath.path, 'package-root-build.json'), Buffer.from(JSON.stringify(packageJson))) process.exit(0)