Skip to content

Commit 7c6afe2

Browse files
Update build_map.sh
1 parent 1546cac commit 7c6afe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/build_map.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ BUILD_ID=$(cat .next/BUILD_ID)
2626
mkdir -p deploy/_just/static/
2727
mkdir -p deploy/_just/static/$BUILD_ID/
2828

29-
# echo "const _just_buildManifest = [];" > deploy/_just/static/$BUILD_ID/buildManifest.js
3029
echo "$(cat $GITHUB_ACTION_PATH/src/buildManifest_start.js)" > deploy/_just/static/$BUILD_ID/buildManifest.js
3130

3231
echo -e "\n----------------\n\nBuild Map:\n"
@@ -61,7 +60,8 @@ find deploy -mindepth 1 -print | while read -r path; do
6160
done
6261
echo -e "End Build Map\n"
6362
echo -e "----------------\n"
64-
echo "window._just_Manifest = _just_buildManifest;" >> deploy/_just/static/$BUILD_ID/buildManifest.js
63+
# echo "window._just_Manifest = _just_buildManifest;" >> deploy/_just/static/$BUILD_ID/buildManifest.js
64+
echo "$(cat $GITHUB_ACTION_PATH/src/buildManifest_end.js)" >> deploy/_just/static/$BUILD_ID/buildManifest.js
6565
# Override Deployment
6666
for html_file in deploy/*.html; do
6767
echo "<script src=\"_just/static/$BUILD_ID/buildManifest.js\"></script>" >> "$html_file"

0 commit comments

Comments
 (0)