Hacker News new | ask | show | jobs
by UnfitFootprint 29 days ago
I’ve found if you want interop ts esm and js cjs you need to compile your code - and then `tsc` doesn’t bundle your dependencies for you and outputs incomplete code.