Open martin-purplefish opened 2 weeks ago
interesting! do you know if it'd still work with tsx without transpiling?
I don't know - but it should since it's just bundling things using (mostly) your tsconfig - so I would expect tsx to work fine.
when we merge CJS support to node-sdks, i'll set up tsup here to transpile the TypeScript to both standards so we have a true dual package.
Cool! Happy to help!
https://github.com/egoist/tsup
I think it'd make things a lot cleaner - it'd mean you don't have to import .js files, you can do import prefixes (e.g. @/agent/foo' instead of '../agent/foo.js' stuff.