-
Notifications
You must be signed in to change notification settings - Fork 63
LW-10722 chore: add tsc-alias to make dist/esm files imports complient with latest node.js versions #1325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job guys!! @iccicci @mkazlauskas 🔥
…test node.js versions
[LW-10722] chore: fix OCI after #1325
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'.