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 bundlesize. #24145

Merged
merged 2 commits into from
Oct 1, 2017
Merged

Add bundlesize. #24145

merged 2 commits into from
Oct 1, 2017

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Sep 27, 2017

Fixes #23009.

So, the sizes bundlesize reports are the gzip ones. I went with pretty strict values and separate entries, but we can always change them if needed.

Now, in order for the GitHub integration to work, @mdo needs to take care of https://github.com/siddharthkp/bundlesize#2-build-status

@XhmikosR
Copy link
Member Author

Oh, it seems bundlesize doesn't work on node.js 4 so we might want to bump the minimum version to 6 or run bundlesize only on node 8.

@Johann-S
Copy link
Member

Not against moving to node 6 plus node 4 maintenance will end in April 2018

@XhmikosR
Copy link
Member Author

Should I also add the CSS files?

@Johann-S
Copy link
Member

IMO @mdo would be interested to have our CSS file too

@XhmikosR XhmikosR force-pushed the v4-dev-xmr-bundlesize branch 3 times, most recently from 32b44a0 to be99749 Compare September 30, 2017 11:32
Copy link
Member

@bardiharborow bardiharborow left a comment

Choose a reason for hiding this comment

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

Looks good. Happy to drop Node.js v4 given that it's in maintenance. v8 is about to hit LTS, so we'll be testing on both current LTS versions.

@XhmikosR
Copy link
Member Author

XhmikosR commented Oct 1, 2017

@mdo: will you add https://github.com/siddharthkp/bundlesize#2-build-status or should I merge now?

@mdo
Copy link
Member

mdo commented Oct 1, 2017

Added env variable to Travis

@mdo mdo merged commit 44dcc8d into v4-dev Oct 1, 2017
@mdo mdo deleted the v4-dev-xmr-bundlesize branch October 1, 2017 19:01
@mdo mdo mentioned this pull request Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants