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

chore(project): use white-web-sdk-esm to slightly reduce bundle size #1579

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

hyrious
Copy link
Member

@hyrious hyrious commented Jun 21, 2022

No description provided.

Copy link
Collaborator

@BlackHole1 BlackHole1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How much will it reduce?
Was it stable?

@Cheerego7 Cheerego7 merged commit 164f4e9 into netless-io:main Jun 21, 2022
@hyrious
Copy link
Member Author

hyrious commented Jun 21, 2022

How much will it reduce?

package format target
white-web-sdk cjs es5 (with babel & core-js)
white-web-sdk-esm esm es2017

Basically it reduces the size contributed by babel transforming async/await to generators and core-js modules.

Was it stable?

Let's see..

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.

3 participants