-
Notifications
You must be signed in to change notification settings - Fork 945
Expand the size analysis cli to support bundle size analysis #3873
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
Conversation
|
Binary Size ReportAffected SDKs
Test Logs
|
Size Analysis ReportAffected ProductsNo changes between base commit (49378bf) and head commit (3d9d8f9). Test Logs
|
Added a
bundle
command to the size analysis tool. It takes an array of bundle definitions (basically imports from packages) and analyze their size using either rollup, webpack or both.As opposed to analyzing the size of each individual exports from a module, this command is useful for analyzing the size of a combination of exports from different modules.
Sample bundle definition file:
Run command on this file:
yarn sa bundle -i repo-scripts/size-analysis/bundle-definition-examples/bundle-definition-1.json -o res -b both
output: