diff --git a/gen-npm-pkg.sh b/gen-npm-pkg.sh index 4a2db13..3e18e8d 100644 --- a/gen-npm-pkg.sh +++ b/gen-npm-pkg.sh @@ -49,7 +49,7 @@ for PACKAGE_DIR in "$BASE_DIR"/*; do # Copy the pkg directory to the unified bindings folder mkdir -p "$PACKAGE_OUTPUT_DIR" - cp -r "$PACKAGE_DIR/pkg/" "$PACKAGE_OUTPUT_DIR" + cp -r "$PACKAGE_DIR/pkg/"* "$PACKAGE_OUTPUT_DIR" # Remove the subfolder's package.json file if [ -f "$PACKAGE_OUTPUT_DIR/package.json" ]; then