Skip to content

Total Size Change should be derived purely from 'Changed' files, not all #137

Description

@rschristian

Changing hashes in bundles can often result in +/- 10b diffs after compression; whilst this can be addressed with the minimum-change-threshold option, the deltas seem like they still go into forming the overall total which is undesirable. For example, just the "Changed files" from a work project:


Size Change: -351 B (-0.01%)

Filename Size Change
./dist-cdn/useBusinessDetailsData-********.js 29.6 kB +41 B (+0.14%)
./dist-cdn/SourceOfFundsPage-********.js 14.3 kB -10 B (-0.07%)
./dist-cdn/TaxInformationField-********.js 14.2 kB -72 B (-0.51%)

Should be a -41b total, not 351b

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions