Skip to content

Commit 8db2902

Browse files
Fix packaging script for legacy renaming
1 parent fe72714 commit 8db2902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/npm-packages/ruby-wasm-wasi/tools/pack-bindgen-src.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ package_dir="$(cd "$(dirname "$0")/.." && pwd)"
1010
dist_dir="$1"
1111

1212
for format in "esm" "cjs"; do
13-
mkdir -p "$dist_dir/$format/bindgen"
14-
find "$package_dir/src/bindgen" -name "*.d.ts" -exec cp {} "$dist_dir/$format/bindgen" \;
13+
mkdir -p "$dist_dir/$format/bindgen/legacy"
14+
find "$package_dir/src/bindgen/legacy" -name "*.d.ts" -exec cp {} "$dist_dir/$format/bindgen/legacy" \;
1515
done

0 commit comments

Comments
 (0)