Skip to content

Commit 6f086ac

Browse files
committed
chore: bundle package
1 parent bfe82c3 commit 6f086ac

File tree

3 files changed

+420
-2
lines changed

3 files changed

+420
-2
lines changed

.changeset/cruel-apples-glow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@llama-flow/llamaindex": patch
3+
---
4+
5+
fix: bundle package

packages/llamaindex/package.json

+14
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,18 @@
33
"version": "0.0.6",
44
"type": "module",
55
"description": "LlamaIndex binding for llama-flow",
6+
"main": "dist/index.cjs",
7+
"module": "dist/index.js",
8+
"types": "dist/index.d.ts",
9+
"exports": {
10+
".": {
11+
"types": "./dist/index.d.ts",
12+
"import": "./dist/index.js",
13+
"require": "./dist/index.cjs"
14+
}
15+
},
616
"scripts": {
17+
"build": "bunchee",
718
"test": "vitest run"
819
},
920
"files": [
@@ -20,5 +31,8 @@
2031
},
2132
"publishConfig": {
2233
"access": "public"
34+
},
35+
"devDependencies": {
36+
"bunchee": "^6.5.1"
2337
}
2438
}

0 commit comments

Comments
 (0)