Skip to content

Commit fe930b7

Browse files
Update build_map.sh
1 parent 117fac9 commit fe930b7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/build_map.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ find _just_data -mindepth 1 -print | while read -r path; do
5252
if [ -f "$path" ]; then
5353
if [[ "$first_line" != "// _just hide" ||
5454
"$first_line" != "// _just doNotModify+hide" ]]; then
55-
echo " _justManifest_.push(\"$relative_path\");" >> deploy/_just/static/$BUILD_ID/_justManifest.js
55+
echo " _just_Manifest0.push(\"$relative_path\");" >> deploy/_just/static/$BUILD_ID/_justManifest.js
5656
fi
5757
fi
5858
done
@@ -140,7 +140,7 @@ find deploy -mindepth 1 -print | while read -r path; do
140140
# Build manifest entry
141141
if [[ "$first_line" != "// _just hide" ||
142142
"$first_line" != "// _just doNotModify+hide" ]]; then
143-
echo " _just_buildManifest.push({\"type\": \"$type\", \"path\": \"$relative_path\", \"size\": {\"bytes\": $file_size, \"string\": \"$(human_readable_size $file_size)\"}});" >> deploy/_just/static/$BUILD_ID/buildManifest.js
143+
echo " _just_buildManifest0.push({\"type\": \"$type\", \"path\": \"$relative_path\", \"size\": {\"bytes\": $file_size, \"string\": \"$(human_readable_size $file_size)\"}});" >> deploy/_just/static/$BUILD_ID/buildManifest.js
144144
fi
145145
fi
146146

@@ -162,6 +162,7 @@ for html_file in deploy/*.html; do
162162

163163
echo "<script src=\"_just/static/$BUILD_ID/buildManifest.js\"></script>" >> "$html_file"
164164
echo "<script src=\"_just/static/$BUILD_ID/_justManifest.js\"></script>" >> "$html_file"
165+
echo "<script src=\"_just/static/chunks/$clearCache_name.js\"></script>" >> "$html_file"
165166

166167
echo "</body>" >> "$html_file"
167168
echo "</html>" >> "$html_file"

0 commit comments

Comments
 (0)