Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukachi committed Dec 20, 2024
1 parent a9ca7ad commit 2dc295f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gen-npm-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ for PACKAGE_DIR in "$BASE_DIR"/*; do
# Remove the subfolder's package.json file
if [ -f "$PACKAGE_OUTPUT_DIR/package.json" ]; then
rm "$PACKAGE_OUTPUT_DIR/package.json"
rm "$PACKAGE_OUTPUT_DIR/.gitignore"
fi

# Extract the WASM metadata
Expand Down Expand Up @@ -97,7 +98,7 @@ EOF
for SUBDIR in "$OUTPUT_DIR"/*; do
if [ -d "$SUBDIR" ]; then
SUBDIR_NAME=$(basename "$SUBDIR")
echo " \"$SUBDIR_NAME\"," >> "$PACKAGE_JSON"
echo " \"$SUBDIR_NAME/**/*\"," >> "$PACKAGE_JSON"
fi
done

Expand Down

0 comments on commit 2dc295f

Please sign in to comment.