Skip to content

Commit 18179f3

Browse files
committed
Fix streamdown to build browser only
1 parent abeda72 commit 18179f3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/goofy-trams-work.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"streamdown": patch
3+
---
4+
5+
build for browser only (fixes ts-router)

packages/streamdown/tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ export default defineConfig({
1010
external: ["react", "react-dom"],
1111
treeshake: true,
1212
splitting: true,
13+
platform: "browser",
1314
});

0 commit comments

Comments
 (0)