Skip to content

Commit

Permalink
Fix Javascript SDK's UMD build (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbrugger authored Nov 22, 2024
1 parent 38fcb98 commit ba4e241
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilly-pans-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@flatfile/javascript': patch
---

Fix UMD build by removing externals
7 changes: 0 additions & 7 deletions packages/javascript/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ if (!PROD) {
console.log('Not in production mode - skipping minification')
}

const external = [
'@flatfile/api',
'@flatfile/listener',
'@flatfile/plugin-record-hook',
]

const config = [
{
input: 'index.ts',
Expand Down Expand Up @@ -51,7 +45,6 @@ const config = [
}),
PROD ? terser() : null,
],
external,
},
]

Expand Down

0 comments on commit ba4e241

Please sign in to comment.