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
🏗 Report and store the bundle size of alternate runtime and extension files #25042
🏗 Report and store the bundle size of alternate runtime and extension files #25042
Conversation
@@ -208,7 +213,7 @@ function getLocalBundleSize() { | |||
cyan(shortSha(gitCommitHash())) + '.' | |||
); | |||
} | |||
getBrotliBundleSize(); | |||
getBrotliBundleSizes(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the point of this call? Should this function be returning something? JSDoc would help, but also not clear if there's any point to this function call
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getBrotliBundleSizes
prints its own logs. @rsimha added the getLocalBundleSize()
method originally, I'm just updating here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the point of this is just to log stuff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's a debugging thing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -208,7 +213,7 @@ function getLocalBundleSize() { | |||
cyan(shortSha(gitCommitHash())) + '.' | |||
); | |||
} | |||
getBrotliBundleSize(); | |||
getBrotliBundleSizes(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Releated to ampproject/amp-github-apps#271