bundlesize
bundlesize copied to clipboard
fix firebase get method not returning its promise
Fixes: https://github.com/siddharthkp/bundlesize/issues/308, https://github.com/siddharthkp/bundlesize/issues/224
Description
-
Currently, the
/values
endpoint throws 500 error while fetching master stats. Apparently, this commit https://github.com/siddharthkp/bundlesize/commit/9e4880be3acaa11fd88ef8f219252a3836f18460#diff-3f22b50a5bc8fc66727cf2798b216054L34 broke the functionality long time ago. -
After fixing 1, I found that the global message was still not reflecting the changes in bundle sizes, showing
-null
. I found that in https://github.com/siddharthkp/bundlesize/blob/master/src/reporter.js#L77, we access the file directly, which fails when the user provides a glob file in case they have a hash appended to their chunks.
Types of changes
- Bug fix (non-breaking change which fixes an issue)
@siddharthkp can we merge this?
Ping @siddharthkp, can we get this in?
Any news on this?