min build whitelisting - #6132
Conversation
| "lib/**/*", | ||
| "src/**/*" | ||
| "src/**/*", | ||
| "dist/**/*" |
There was a problem hiding this comment.
After a PR in past where lib and dist both directories are created for outputs, dist was not whitelisted, so due to current CDN structure web3.min is not available in last few RCs as its not uploaded to npm due to filtering,
Its fixed here.
tested dist/min.. including via yarn pack
Bundle StatsHey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## 4.x #6132 +/- ##
=======================================
Coverage 87.36% 87.36%
=======================================
Files 197 197
Lines 7541 7541
Branches 2059 2059
=======================================
Hits 6588 6588
Misses 953 953
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Deploying with
|
| Latest commit: |
327c611
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0ea7d99d.web3-js-docs.pages.dev |
| Branch Preview URL: | https://junaid-4xminifiedbuildfix.web3-js-docs.pages.dev |
Description
#5743
Type of change
Checklist:
npm run lintwith success and extended the tests and types if necessary.npm run test:unitwith success.npm run test:coverageand my test cases cover all the lines and branches of the added code.npm run buildand testeddist/web3.min.jsin a browser.CHANGELOG.mdfile in the root folder.