Skip to content
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

Packaging: Experiment with conditional exports #451

Merged
merged 4 commits into from
Apr 3, 2024
Merged

Conversation

barnjamin
Copy link
Contributor

@barnjamin barnjamin commented Apr 3, 2024

Using https://github.com/barnjamin/ezui to build/test bundle sizes

Import full cosmwasm package to get the Address
image

Import from /address conditional export path (note, only major change is # of packages considered)
image

After also removing the platform import from the source address.ts file
image

No import of cosmwasm
image

@barnjamin barnjamin merged commit 8195c88 into main Apr 3, 2024
1 check passed
@barnjamin barnjamin deleted the fewer-deps branch April 3, 2024 16:12
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