diff --git a/build.bun.ts b/build.bun.ts index 7e9ec47..66ef840 100644 --- a/build.bun.ts +++ b/build.bun.ts @@ -23,5 +23,5 @@ function buildJs(entrypoint: string, opts: Record = {}) { await Promise.all([ buildJs("src/app.ts", { outdir: "dist/src" }), buildJs("src/app-bridge.ts", { outdir: "dist/src", external: ["@modelcontextprotocol/sdk"] }), - buildJs("src/react/index.tsx", { outdir: "dist/src/react" }), + buildJs("src/react/index.tsx", { outdir: "dist/src/react", external: ["react", "react-dom"]}), ]) \ No newline at end of file