Open martin-purplefish opened 1 day ago
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.
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.
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.