Skip to content

Commit

Permalink
Create proud-tigers-mix.md
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 authored Jan 30, 2024
1 parent 0eb25c7 commit 56dc8eb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .changeset/proud-tigers-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
"llamaindex": patch
---

refactor: use `pdf2json` instead of `pdfjs-dist`

Please add `pdf2json` to `serverComponentsExternalPackages` if you have to parse pdf in runtime.

```js
// next.config.js
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
serverComponentsExternalPackages: ["pdf2json"],
},
};

module.exports = nextConfig;
```

0 comments on commit 56dc8eb

Please sign in to comment.