Skip to content

Commit

Permalink
Ensure apache-arrow is external in rollup config (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Apr 18, 2024
1 parent c554ef6 commit c4ce991
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [0.4.2] - 2024-04-18

- Allow `Uint32Array` type in `parseTable`.
- Ensure `apache-arrow` is marked as an external library in Rollup

## [0.4.1] - 2024-01-31

Expand Down
8 changes: 8 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import dts from "rollup-plugin-dts";

const input = "./src/index.ts";
const sourcemap = true;
const external = ["apache-arrow"];

export default [
{
Expand All @@ -14,6 +15,7 @@ export default [
sourcemap,
},
plugins: [typescript()],
external,
},
{
input,
Expand All @@ -22,6 +24,7 @@ export default [
format: "es",
},
plugins: [dts()],
external,
},
{
input,
Expand All @@ -31,6 +34,7 @@ export default [
sourcemap,
},
plugins: [typescript()],
external,
},
{
input,
Expand All @@ -39,7 +43,11 @@ export default [
format: "umd",
name: "arrowJsFFI",
sourcemap,
globals: {
"apache-arrow": "Arrow",
},
},
plugins: [typescript(), terser()],
external,
},
];

0 comments on commit c4ce991

Please sign in to comment.