Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jq -s '.[0] * .[1]' templates/package.json tmp_build/bundler/package.json > pkg/
# Create minimal package.json in esm/ folder with type: module
echo '{"type": "module"}' > pkg/esm/package.json

# Create minimal package.json in node/ folder with type: commonjs
echo '{"type": "commonjs"}' > pkg/node/package.json

# Update files array in package.json using JQ
jq '.files = ["*"] | .module="esm/parquet_wasm.js" | .types="esm/parquet_wasm.d.ts"' pkg/package.json > pkg/package.json.tmp

Expand Down
Loading