jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.21k stars 505 forks source link

feat: full ESM-CJS interop #1057

Closed ctjlewis closed 3 years ago

ctjlewis commented 3 years ago

WIP.

Does not block require() with a "type": "module" package.json field, uses main, module, and exports fields to support CJS and ESM module resolution in complicated contexts (provoked by errors in Metro with React Native).

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/formium/tsdx/F2GwCGbhCKejWi7iYWHyhDHQ7tjn
✅ Preview: https://tsdx-git-fork-ctjlewis-master-formium.vercel.app