We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
node/
1 parent 2dbda63 commit c2bea8dCopy full SHA for c2bea8d
1 file changed
scripts/build.sh
@@ -55,6 +55,9 @@ jq -s '.[0] * .[1]' templates/package.json tmp_build/bundler/package.json > pkg/
55
# Create minimal package.json in esm/ folder with type: module
56
echo '{"type": "module"}' > pkg/esm/package.json
57
58
+# Create minimal package.json in node/ folder with type: commonjs
59
+echo '{"type": "commonjs"}' > pkg/node/package.json
60
+
61
# Update files array in package.json using JQ
62
jq '.files = ["*"] | .module="esm/parquet_wasm.js" | .types="esm/parquet_wasm.d.ts"' pkg/package.json > pkg/package.json.tmp
63
0 commit comments