starknet-io / starknet.js

JavaScript library for StarkNet
https://www.starknetjs.com
MIT License
1.22k stars 742 forks source link

chore: Introduce unjs/unbuild #1163

Closed b0rza closed 3 months ago

b0rza commented 3 months ago

It fixes #1137

Motivation and Resolution

Currently, the tsup build tool produces issues in build time when using re-exported same-named values and constants (companion pattern). TLDR: The build output is not correct, which results in correct types, but the constant cannot be recognized by a TS when using the starknet package. So, I introduced unjs/unbuild for cjs and ejs output format.

RPC version (if applicable)

7

Usage related changes

n.a

Development related changes

Checklist:

github-actions[bot] commented 3 months ago

:tada: This PR is included in version 6.10.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 3 months ago

:tada: This issue has been resolved in version 7.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: