Skip to content

add bundlesize to track our build size#2676

Merged
paulirish merged 3 commits into
masterfrom
bundlesize
Jul 11, 2017
Merged

add bundlesize to track our build size#2676
paulirish merged 3 commits into
masterfrom
bundlesize

Conversation

@paulirish

Copy link
Copy Markdown
Member

fixes #1690

This should be reporting via Commit Status API, too..

@brendankenny brendankenny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

Comment thread package.json
"bundlesize": [
{
"path": "./lighthouse-extension/dist/scripts/lighthouse-background.js",
"threshold": "400 Kb"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isn't that too low?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's a gzipped size.

image

right now it doesn't support non-gzipped size reporting.

@paulirish

Copy link
Copy Markdown
Member Author

Now on this PR:
image

@paulirish paulirish merged commit 5172ff7 into master Jul 11, 2017
@paulirish paulirish deleted the bundlesize branch July 11, 2017 21:23
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.

Automation to track our build sizes

2 participants