Skip to content

Fix sdk export - #3753

Open
tintinthong wants to merge 1 commit into
mainfrom
fix-export-of-sdk
Open

tintinthong wants to merge 1 commit into
mainfrom
fix-export-of-sdk

Conversation

@tintinthong

@tintinthong tintinthong commented May 24, 2023

Copy link
Copy Markdown
Contributor

index.ts is not available inside dist when @cardstack/cardpay-sdk is distributed. A lot of apps (web-client) default to using the main property ie ./dist/esm/index.js

Here is a comment which explains this change but I am not too certain of the reason behind it.

I guess using test and the cli in the monorepo would import index.ts? Btw the test are failing so this PR is not in a working state altho the import doesn't seem to work.

It is blocking this PR

@github-actions

github-actions Bot commented May 24, 2023

Copy link
Copy Markdown

web-client test results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 1414179.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented May 24, 2023

Copy link
Copy Markdown

ssr-web test results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 1414179.

♻️ This comment has been updated with latest results.

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.

1 participant