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

Bundle commonjs output #108

Closed
wants to merge 8 commits into from
Closed

Conversation

jeremymeng
Copy link
Collaborator

Description

Use rollup to generate a commonjs bundle from TypeScript ES6 output. This allows future "module" field in package.json to point to ESM version of index.js.

@jeremymeng
Copy link
Collaborator Author

Maybe not. we could instead ship both unbundled commonjs and ESM. Consumers could use their own bundler.

@jeremymeng jeremymeng closed this Oct 20, 2023
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