Skip to content

Commit d61b43c

Browse files
committed
fix(build): fix build issue at utils/index.ts
1 parent 3981e81 commit d61b43c

File tree

8 files changed

+11
-8
lines changed

8 files changed

+11
-8
lines changed

.changes/background-option.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@matechat/react": patch
2+
"@matechat/react": patch:feat
33
---
44

55
Optimize `background` option of `BubbleList` component.

.changes/bubble-patch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@matechat/react": patch
2+
"@matechat/react": patch:feat
33
---
44

55
Add loading animation during AI request wait states.

.changes/chore-deps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@matechat/react": patch
2+
"@matechat/react": patch:chore
33
---
44

55
Bump dependencies.

.changes/fix-sender-lint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@matechat/react": patch
2+
"@matechat/react": patch:fix
33
---
44

55
Fix the lint error on `useEffect` in `sender.tsx`.

.changes/fix-utils-build.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@matechat/react": patch:fix
3+
---
4+
5+
Fix the build issue in `utils` by adding `utils/index.ts` to vite build entries.

.changes/optimize-sender-button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@matechat/react": patch
2+
"@matechat/react": patch:feat
33
---
44

55
Optimize the `SenderButton` component in `sender.tsx`.

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@ export * from "./bubble";
22
export * from "./button";
33
export * from "./prompt";
44
export * from "./sender";
5-
6-
export * from "./utils";

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default defineConfig({
99
build: {
1010
lib: {
1111
name: "index",
12-
entry: "./src/index.ts",
12+
entry: ["./src/index.ts", "./src/utils/index.ts"],
1313
formats: ["es"],
1414
},
1515
rollupOptions: {

0 commit comments

Comments
 (0)