Skip to content

Commit 9970a4a

Browse files
committed
Fix src/services/worker/dist expectation from launcher
1 parent bcffc34 commit 9970a4a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/worker/package.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ if [[ "$PLATFORM" == "ios" ]]; then
6666
popd >/dev/null 2>&1
6767
fi
6868
rm -rf $target_root_dir/.volta/
69+
70+
# Create backward-compatible symlink for orchestrator
71+
# The orchestrator expects ./src/services/worker/dist/main.js
72+
# but the new structure has ./packages/worker/dist/main.js
73+
# We're only symlinking the specific file to discover any other legacy path usage
74+
mkdir -p "$target_root_dir/src/services/worker/dist"
75+
ln -s ../../../../packages/worker/dist/main.js "$target_root_dir/src/services/worker/dist/main.js"
76+
6977
tar zcf $OUTPUT_FILE -C $target_root_dir .
7078

7179
echo "Tarball is ready: $OUTPUT_FILE"

0 commit comments

Comments
 (0)