We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c59732c commit a564b1fCopy full SHA for a564b1f
1 file changed
build.bun.ts
@@ -23,5 +23,5 @@ function buildJs(entrypoint: string, opts: Record<string, any> = {}) {
23
await Promise.all([
24
buildJs("src/app.ts", { outdir: "dist/src" }),
25
buildJs("src/app-bridge.ts", { outdir: "dist/src", external: ["@modelcontextprotocol/sdk"] }),
26
- buildJs("src/react/index.tsx", { outdir: "dist/src/react" }),
+ buildJs("src/react/index.tsx", { outdir: "dist/src/react", external: ["react", "react-dom"]}),
27
])
0 commit comments