Coloring
Coloring
> Hello - yes > > For SSE - I had to monkey patch mcp.server.sse.SseServerTransport's connect_sse method. > > Somewhere in the middle add your route parts into the root_path...
> 是在 monorepo 根目录执行的 father? 根目录运行统一的构建命令,子目录执行 father build,感觉应该是动态导入的 bug,不过我感觉提供一个手动指定 tsconfig 的配置项其实相对合理一点,这样也不会和 vscode 这类编辑器的 tsconfig 读取路径冲突。
解决了,核心问题就是在最外层的 tsconfig.json 内部写了 baseUrl,但是包内没写,extends 的时候使用了外部的 baseUrl,加上 `baseUrl: '.'`正常了,但是这样也导致开发模式下的 tsconfig.json paths 完全失效了。 复现仓库:https://github.com/Col0ring/father-tsconfig-example