Skip to content

Conversation

@Ayc0
Copy link
Owner

@Ayc0 Ayc0 commented Aug 30, 2025

Even if node supports CJS & ESM & proper interop between the 2, Jest doesn't. Issue: this package is expected to be used mostly for tests and Jest is one of the biggest test framework.

So to simplify everything, let's just compiled deps to avoid shipping ESM and dual ship properly

  • Use tsdown instead of microbundle (not required, but newer and maintained),
  • build dependencies,
  • setup TS,
  • add some CJS / ESM config

@Ayc0 Ayc0 changed the title Ayc0/tsdown Prebuild dependency to be able to ship CJS Aug 30, 2025
@Ayc0 Ayc0 marked this pull request as ready for review August 30, 2025 14:00
@Ayc0 Ayc0 merged commit 09c72d0 into main Aug 30, 2025
4 checks passed
@Ayc0 Ayc0 deleted the Ayc0/tsdown branch August 30, 2025 14:00
@Ayc0 Ayc0 mentioned this pull request Aug 30, 2025
@Ayc0
Copy link
Owner Author

Ayc0 commented Aug 30, 2025

Fixes #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants