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
Adds module and bundle type metadata to the rollup results json #11914
Conversation
scripts/rollup/results.json
Outdated
@@ -1,232 +1,346 @@ | |||
{ | |||
"bundleSizes": { | |||
"react.development.js (UMD_DEV)": { |
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.
Let's just make the whole thing an array and add filename
as one of the fields?
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.
Yep 👍
61c7ba8
to
e9513bf
Compare
Should I have the code handle both array types and object types? for example http://react.zpao.com/builds/master/latest/results.json is still the older format, which is pulled in an used as the previous result |
Just array is fine. After you run |
e9513bf
to
9db5565
Compare
👍 cool cool, shipped |
OK, this fails CI but probably because master is not updated to use this format. So merging this should actually fix it.. |
There were a few more issues but the master is green now so we should be good! |
Thanks Dan - sorry if I caused you anything serious!
…--
[·/ ] Orta Therox
w/ Artsy <http://artsy.net/>
CocoaPods <http://cocoapods.org/> / CocoaDocs <http://cocoadocs.org/>
@orta / orta.github.com
On Sat, Dec 23, 2017 at 8:27 PM, Dan Abramov ***@***.***> wrote:
There were a few more issues but the master is green now so we should be
good!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11914 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAC_jlCFpdm_GjKwvlGwrroWDO9_wwfHks5tDaiTgaJpZM4RLbhS>
.
|
Not really, it's just scripts :-) |
For #11865 - @gaearon and I discussed the idea of having smaller tables which were grouped by the module name. I had a think about how to do this with the current JSON but it currently looks like this:
So instead I updated the results generator to include the actual package name and the environment it was built in. Making it more future proofed.
Made as a separate PR so that the PR #11865 can reference this in master.