Skip to content

Commit

Permalink
the ESM export is causing issues with edge functions
Browse files Browse the repository at this point in the history
Looks like there's another issue with axios. Will turn ESM bundles back
on once we fix it and the PDF issue
  • Loading branch information
yisding committed Jul 24, 2023
1 parent 5321fb3 commit 02d9bb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/olive-eyes-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"llamaindex": patch
---

Remove ESM export for now (causing issues with edge functions)
12 changes: 0 additions & 12 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@
"engines": {
"node": ">=18.0.0"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"scripts": {
Expand Down

0 comments on commit 02d9bb0

Please sign in to comment.