Hey folks! Love the library, definitely helps making package interop in monorepos easier. With ES what's the current support like, and how should it work for local dev?
Looking at commonjs - it uses the babel hook to transpile on the fly so local development works without any extra work, fantastic! It doesn't look like the ESM output has the same treatment though. Should it? E.g. if I have my package with "type": "module", and have it flow through into the esm module, it won't work during local dev since it's TypeScript and most bundlers (and ts-node) won't transpile node modules without extra effort.
If anyone has insight I'd appreciate it, cheers
Hey folks! Love the library, definitely helps making package interop in monorepos easier. With ES what's the current support like, and how should it work for local dev?
Looking at commonjs - it uses the babel hook to transpile on the fly so local development works without any extra work, fantastic! It doesn't look like the ESM output has the same treatment though. Should it? E.g. if I have my package with
"type": "module", and have it flow through into the esm module, it won't work during local dev since it's TypeScript and most bundlers (and ts-node) won't transpile node modules without extra effort.If anyone has insight I'd appreciate it, cheers