Skip to content

feat: Remove CommonJS build#279

Open
trygve-lie wants to merge 3 commits into
mainfrom
no-commonjs
Open

feat: Remove CommonJS build#279
trygve-lie wants to merge 3 commits into
mainfrom
no-commonjs

Conversation

@trygve-lie
Copy link
Copy Markdown
Contributor

@trygve-lie trygve-lie commented May 29, 2026

BREAKING CHANGE: This remove the support for CommonJS by removing the exported require export and the internal build step which builds a CommonJS version. This should not matter much due to the fact that newer versions of node.js now have support for both ESM and CommonJS co-existing.

BREAKING CHANGE

This remove the support for CommonJS by removing the exported require export and the internal build step which builds a CommonJS version.
This should not matter much due to the fact that newer versions of node.js now have support for both ESM and CommonJS co-existing.
@wkillerud
Copy link
Copy Markdown
Contributor

I think the syntax for semantic release is a bit off, it should be

feat: Remove CommonJS build

BREAKING CHANGE: This remove the support for CommonJS by removing the
exported require export and the internal build step which builds a
CommonJS version. This should not matter much due to the fact that
newer versions of node.js now have support for both ESM and CommonJS
co-existing.

or

feat!: Remove CommonJS build

This remove the support for CommonJS by removing the exported require
export and the internal build step which builds a CommonJS version.
This should not matter much due to the fact that newer versions of
node.js now have support for both ESM and CommonJS co-existing.

@wkillerud
Copy link
Copy Markdown
Contributor

wkillerud commented May 29, 2026

LGTM other than the commit message for semrel, can do that as part of a squash 👍

Base automatically changed from replace-tap to main May 29, 2026 13:38
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