Skip to content

Commit

Permalink
Export wasm paths from package.json (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored May 5, 2024
1 parent b95383d commit cbfebc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### What's Changed

- Use Blob instead of File for input in `ParquetFile.fromFile`.
- Export wasm paths from `package.json`.

## [0.6.0] - 2024-04-21

Expand Down
3 changes: 3 additions & 0 deletions templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
],
"$comment": "We export ./esm/parquet_wasm.js so that code can work the same bundled and directly on the frontend",
"exports": {
"./bundler/parquet_wasm_bg.wasm": "./bundler/parquet_wasm_bg.wasm",
"./esm/parquet_wasm_bg.wasm": "./esm/parquet_wasm_bg.wasm",
"./node/parquet_wasm_bg.wasm": "./node/parquet_wasm_bg.wasm",
"./bundler": {
"types": "./bundler/parquet_wasm.d.ts",
"default": "./bundler/parquet_wasm.js"
Expand Down

0 comments on commit cbfebc5

Please sign in to comment.