JavaScript SDK for interacting with Cardano, providing various key management options, with support for popular hardware wallets
212
stars
57
forks
source link
LW-10722 chore: add tsc-alias to make dist/esm files imports complient with latest node.js versions #1325
Closed
iccicci closed 2 months ago
Context
SDK is not using sully qualified imports which are required by latest Node.js version when using ESM,
Proposed Solution
Added one more build step (
tsc-alias
) to change old fashion style import (still required for TypeScript development) into the new one.Other changes introduced
yarn build:cjs
to skip esm build.yarn
callingyarn
callingyarn
in the build process.The combination of the last two reduced the e2e CI flow from 22' to 18'.