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

feat: add esm build option for typescript #603

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

satya164
Copy link
Member

@satya164 satya164 commented Jul 30, 2024

This wraps up the ESM support to add support for TypeScript as well. For TypeScript to work correctly, it's necessary to have 2 builds (for ESM and CommonJS). With this, we generate one build and then copy the folder, then add a package.json with type property for the module system.

@satya164 satya164 force-pushed the @satya164/tsc-esm branch 2 times, most recently from 9648f45 to 67ce2ce Compare August 1, 2024 02:49
@satya164 satya164 force-pushed the @satya164/tsc-esm branch from 67ce2ce to 012497a Compare August 1, 2024 02:52
@satya164 satya164 marked this pull request as ready for review August 1, 2024 02:54
@satya164 satya164 requested a review from atlj August 1, 2024 02:55
@satya164 satya164 added this pull request to the merge queue Aug 1, 2024
Merged via the queue into main with commit fd43167 Aug 1, 2024
24 checks passed
@satya164 satya164 deleted the @satya164/tsc-esm branch August 1, 2024 11:32
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