Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: CJS fallbacks should be at the end not at beginning (#103)
- when defining the old CJS `main` and `module`, these properties should come after `exports` (new ESM prop) so that newer Node will try `exports` first and not try fallback first, while for old Node it will automatically use the fallbacks since `exports` won't work
- Loading branch information