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

Refactor: Add separate ESM, CJS build #701

Merged
merged 17 commits into from
Oct 26, 2023
Merged

Refactor: Add separate ESM, CJS build #701

merged 17 commits into from
Oct 26, 2023

Conversation

bvotteler
Copy link
Contributor

@bvotteler bvotteler commented Oct 25, 2023

Release Candidate 2.6.0-rc.0

Changes:

  • Build 3 targets: ES6 (as before), CommonJS, and types only,
  • Update parachain exports to export all instead of only specific classes/types from subfolders,
  • Move a few helper methods back to src (from test) so the UI can continue to import them, and
  • Remove unnecessary files included in npm/yarn pack

Local tests worked well using this version as dependency in simplified commonjs and esm projects, but may require more changes. Therefore marked as release candidate.

@bvotteler bvotteler marked this pull request as ready for review October 26, 2023 08:26
@bvotteler bvotteler merged commit 1dcd18d into interlay:master Oct 26, 2023
2 checks passed
@bvotteler bvotteler deleted the chore-add-cjs-build branch October 26, 2023 11:08
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