Skip to content
Snippets Groups Projects
Unverified Commit 8dc6a2bf authored by Marcus Schiesser's avatar Marcus Schiesser Committed by GitHub
Browse files

fix: simplify webpack config using 0.57 (#174)

parent 23b73571
Branches
Tags
No related merge requests found
......@@ -2,4 +2,4 @@
"create-llama": patch
---
Filter private documents for Typescript (Using MetadataFilters) and update to LlamaIndexTS 0.5.6
Filter private documents for Typescript (Using MetadataFilters) and update to LlamaIndexTS 0.5.7
......@@ -20,7 +20,7 @@
"dotenv": "^16.3.1",
"duck-duck-scrape": "^2.2.5",
"express": "^4.18.2",
"llamaindex": "0.5.6",
"llamaindex": "0.5.7",
"pdf2json": "3.0.5",
"ajv": "^8.12.0",
"@e2b/code-interpreter": "^0.0.5",
......
......@@ -24,7 +24,7 @@
"duck-duck-scrape": "^2.2.5",
"formdata-node": "^6.0.3",
"got": "^14.4.1",
"llamaindex": "0.5.6",
"llamaindex": "0.5.7",
"lucide-react": "^0.294.0",
"next": "^14.2.4",
"react": "^18.2.0",
......
......@@ -4,12 +4,5 @@ export default function webpack(config) {
aws4: false,
};
// Following lines will fix issues with onnxruntime-node when using pnpm
// See: https://github.com/vercel/next.js/issues/43433
config.externals.push({
"onnxruntime-node": "commonjs onnxruntime-node",
sharp: "commonjs sharp",
});
return config;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment