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

Build size differences #26

Open
shellscape opened this issue Jul 27, 2018 · 2 comments
Open

Build size differences #26

shellscape opened this issue Jul 27, 2018 · 2 comments

Comments

@shellscape
Copy link

Great work on this plugin 🎉

In looking through the source and reading the docs here it struck me that there might be another vector for useful information in this plugin: build size differences. Keeping track of config hashes or some other somewhat-static element and caching build sizes based on an identifier (say, in a file in a temp directory, or in the module itself) and displaying size increases or decreases, might be useful to folks.

@ritz078
Copy link
Owner

ritz078 commented Jul 27, 2018

How do you define the base size ?

@shellscape
Copy link
Author

I'd find something I could hash (like the config, or the set of files in the bundle) and then store the hash along with the resulting file size for a build. Then reference that hash and base value for subsequent builds that matched the hash.

@brettz9 brettz9 changed the title Possibly Useful Suggestion Build size differences May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants