Skip to content

Fix sdk export #3753

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

Fix sdk export #3753
tintinthong wants to merge 1 commit intomainfrom
fix-export-of-sdk

Conversation

@tintinthong
Copy link
Copy Markdown
Contributor

@tintinthong tintinthong commented May 24, 2023

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
Copy link
Copy Markdown

github-actions bot commented May 24, 2023

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
Copy link
Copy Markdown

github-actions bot commented May 24, 2023

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