Skip to content

Refactor: Add separate ESM, CJS build#701

Merged
bvotteler merged 17 commits into
interlay:masterfrom
bvotteler:chore-add-cjs-build
Oct 26, 2023
Merged

Refactor: Add separate ESM, CJS build#701
bvotteler merged 17 commits into
interlay:masterfrom
bvotteler:chore-add-cjs-build

Conversation

@bvotteler

@bvotteler bvotteler commented Oct 25, 2023

Copy link
Copy Markdown
Contributor

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 requested a review from peterslany October 26, 2023 08:26
@bvotteler bvotteler merged commit 1dcd18d into interlay:master Oct 26, 2023
@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