-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Change the vite chunk filename hash usage #2224
Conversation
- Change to more closely match the . syntax we use with webpack - This shoudl fix some issues with our size compare as well
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Bundle Stats — desktop-clientHey 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
Changeset
View detailed bundle breakdownAdded
Removed
Bigger No assets were bigger Smaller No assets were smaller Unchanged No assets were unchanged |
Bundle Stats — loot-coreHey 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
Changeset No files were changed View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
afd1515
to
1bb93a5
Compare
1bb93a5
to
78bb827
Compare
* Change the vite chunk filename hash usage - Change to more closely match the . syntax we use with webpack - This should fix some issues with our size compare as well * Account for chunks being base64
Summary
.chunk
syntax we use with webpackDetails
The improvement for size compare is that our github action is stripping out the hashes before passing the size compare, but was based on the period.
We have the additional difficulty here of rollup using base64 hashes, which can include
_-
which complicates our ability to just strip out what we want.This should improve the output, but there likely is a few more tweaks to be made, as our current vite stats seem to be missing the css and font sizes, which were previously present in this action.
Test
Because this action uses
pull_request_target
only the action from master is run. In order to test the changes here I opened a sibling PR using justpull_reqest
.You can see the test comment here: #2225 (comment)
and if you expand the
View detailed bundle breakdown
you can see the new naming at work in theAdded
section vs the current master naming at work in theRemoved
section.