reatom
reatom copied to clipboard
ESM module export
This PR should closes #816, #806, and #573
Auxiliary materials:
Run & review this pull request in StackBlitz Codeflow.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
reatom | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 3, 2024 7:10pm |
Initial confusion is likely to be caused by how microbundle handles ESM building by assuming everything in package.json#module is ESM. But now it checks for package.json#type also.
How esbuild read package.json https://esbuild.github.io/api/#platform
@BANOnotIT if this is ready - merge it.
@artalar Still can't merge it myself