Commit 8aadc53
committed
fix(ai): use concrete middleware module paths in the rerank activity
rerank/index.ts imported the '../middleware' directory barrel, so the
declaration emit rewrote it to '../middleware.js', which does not
resolve under bundler/node16/nodenext. scan-dangling-dts caught it.
Import '../middleware/run' and '../middleware/types' like every other
activity does.1 parent d2fda43 commit 8aadc53
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments