vechain-sdk-js
vechain-sdk-js copied to clipboard
💡 [REQUEST] - Investigate whether it makes sense to exclude all dependencies from ESM bundling
Summary
We found out that tsup
is including all the transpilations from the dependencies in the index.mjs
, causing issues like for example with webpack for NextJS apps.
In the tsup
website, they suggest that in general we do not need to transpile dependencies, and that it might be a good idea to actually exclude them altogether.
The purpose of this ticket is to investigate and implement this if it makes sense.
Basic Example
Because of this bug #1157