Skip to content

Commit 859c8ea

Browse files
authored
Merge pull request #2156 from NativeScript/pete/copy-node_modules
Extract tns-core-modules on root level of tns_modules
2 parents 0bc09ec + d140a7c commit 859c8ea

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

Lines changed: 5 additions & 0 deletions
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)