Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: full CJS/ESM hybrid support with tsup #303

Merged
merged 2 commits into from
Oct 4, 2024
Merged

Conversation

ghiscoding
Copy link
Owner

  • we'll use tsup to create entries for CJS and ESM, however I'll keep using esbuild and tsc to bundle the rest which are all the locales and the IIFE build as well. We'll keep this until our next major which will drop CJS and we can go back to previous esbuild only approach
  • also add @arethetypeswrong/cli to properly test hybrid CJS/ESM with Types and all package exports
  • the hybrid approach is finally all good now

Copy link

stackblitz bot commented Oct 4, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

github-actions bot commented Oct 4, 2024

Playwright E2E Test Results

78 tests   78 ✅  1m 42s ⏱️
69 suites   0 💤
 1 files     0 ❌

Results for commit 25022ae.

♻️ This comment has been updated with latest results.

@ghiscoding ghiscoding merged commit 002e090 into main Oct 4, 2024
3 checks passed
@ghiscoding ghiscoding deleted the bugfix/tsup-hybrid branch October 4, 2024 04:55
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.

1 participant