Skip to content

Point package.json to index.js and index.mjs - #1343

Merged
uNetworkingAB merged 1 commit into
uNetworking:binariesfrom
nigrosimone:esm-index-binaries
Oct 1, 2026
Merged

uNetworkingAB merged 1 commit into
uNetworking:binariesfrom
nigrosimone:esm-index-binaries

Conversation

@nigrosimone

Copy link
Copy Markdown
Contributor

For #1314, together with #1342. Please do not merge this without #1342.

uws.js becomes index.js, ESM_wrapper.mjs becomes index.mjs, and package.json points main and exports to them. index.mjs is what src/esm.js of #1342 writes from these binaries: the same 45 exports.

The rename keeps this branch working in any order, but without #1342 the CI keeps writing uws.js and never updates index.js and index.mjs.

@nigrosimone
nigrosimone marked this pull request as ready for review October 1, 2026 05:16
@uNetworkingAB
uNetworkingAB merged commit cec3075 into uNetworking:binaries Oct 1, 2026
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