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

fix: decrease npm build, bundle size #169

Merged
merged 3 commits into from
Jan 11, 2022
Merged

fix: decrease npm build, bundle size #169

merged 3 commits into from
Jan 11, 2022

Conversation

TarikGul
Copy link
Member

This redirects the build source to reference .npmignore instead of the package.json -> files. I haven't done the exact size comparison, but were looking at a decrease in size by probably 60-70%.

All the tests will now be removed, as well as test-helpers.

@TarikGul
Copy link
Member Author

Just checked the before and after for packages/txwrapper-core, and we are roughly looking at the following, which is a giant improvement.

Before

compressed uncompressed  ratio uncompressed_name
      270425      1630720  83.4% package.tar

After

compressed uncompressed  ratio uncompressed_name
       18439       150528  87.7% package.tar

@TarikGul TarikGul merged commit 1a16cfa into main Jan 11, 2022
@TarikGul TarikGul deleted the tarik-decrease-bundle branch January 11, 2022 01:16
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.

None yet

3 participants