Skip to content

Commit d140a7c

Browse files
committed
extract tns-core-modules on root level of tns_modules
1 parent b569b6e commit d140a7c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/tools/node-modules/node-modules-dest-copy.ts

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ export class TnsModulesCopy {
3030
Future.wait(deleteFilesFutures);
3131

3232
shelljs.rm("-rf", path.join(tnsCoreModulesResourcePath, "node_modules"));
33+
34+
// TODO: The following two lines are necessary to temporarily work around hardcoded
35+
// path dependencies in iOS livesync logic. Should be addressed ASAP
36+
shelljs.cp("-Rf", path.join(tnsCoreModulesResourcePath, "*"), this.outputRoot);
37+
shelljs.rm("-rf", tnsCoreModulesResourcePath);
3338
}
3439
}
3540
}

0 commit comments

Comments
 (0)