Skip to content

Commit 8dc6a2b

Browse files
fix: simplify webpack config using 0.57 (#174)
1 parent 23b7357 commit 8dc6a2b

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

.changeset/curvy-penguins-work.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"create-llama": patch
33
---
44

5-
Filter private documents for Typescript (Using MetadataFilters) and update to LlamaIndexTS 0.5.6
5+
Filter private documents for Typescript (Using MetadataFilters) and update to LlamaIndexTS 0.5.7

templates/types/streaming/express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dotenv": "^16.3.1",
2121
"duck-duck-scrape": "^2.2.5",
2222
"express": "^4.18.2",
23-
"llamaindex": "0.5.6",
23+
"llamaindex": "0.5.7",
2424
"pdf2json": "3.0.5",
2525
"ajv": "^8.12.0",
2626
"@e2b/code-interpreter": "^0.0.5",

templates/types/streaming/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"duck-duck-scrape": "^2.2.5",
2525
"formdata-node": "^6.0.3",
2626
"got": "^14.4.1",
27-
"llamaindex": "0.5.6",
27+
"llamaindex": "0.5.7",
2828
"lucide-react": "^0.294.0",
2929
"next": "^14.2.4",
3030
"react": "^18.2.0",

templates/types/streaming/nextjs/webpack.config.mjs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,5 @@ export default function webpack(config) {
44
aws4: false,
55
};
66

7-
// Following lines will fix issues with onnxruntime-node when using pnpm
8-
// See: https://github.com/vercel/next.js/issues/43433
9-
config.externals.push({
10-
"onnxruntime-node": "commonjs onnxruntime-node",
11-
sharp: "commonjs sharp",
12-
});
13-
147
return config;
158
}

0 commit comments

Comments
 (0)