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

Add logBundleSize script to calculate qbds/ids bundle size #718

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

egcgt3
Copy link

@egcgt3 egcgt3 commented Jul 6, 2023

What Changed

Added logBundleSize.mjs to calculate QBDS and IDS component size while making a PR.

Why

Becuase we need to analyze the size difference between the PR and main files to see if the PR is going to add too much overhead

@egcgt3 egcgt3 force-pushed the qboea-8155-measure-component-size branch from 6de9362 to b134675 Compare July 6, 2023 18:04
@egcgt3 egcgt3 force-pushed the qboea-8155-measure-component-size branch from d9bd955 to 67322fb Compare July 6, 2023 20:17
Comment on lines +91 to +92
const canaryURL = `https://uxfabric.intuitcdn.net/components/design-systems/${repo}/canary/${prId}/${component}/ids.js`;
const distPath = `${componentsDir}/${component}/dist`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These URLs don't look to be generic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants