Commit Graph

6 Commits

Author SHA1 Message Date
François Fournier
5be354b10f Fix bug #10880 "[1.9] bundle-visualizer crashes app" (#10886)
The updated babel-based minifiers must be more tight on some syntax. This
trailing coma has been there for a while but it's now causing issue when
minimizing to view the bundle size. Tests on a local app show a resolution
just by deleting the coma.
2020-02-01 13:42:57 -05:00
Ben Newman
a8b4a30f8e Remove some trailing whitespace from bundle-visualizer files. 2018-06-29 11:53:51 -04:00
James Burgess
9b0f38cec4 Split bundles into separate sunbursts in bundle-visualizer (#10025) 2018-06-29 11:43:45 -04:00
Ben Newman
b75cdbfe6e Add 10px margin to left of bundle-visualizer path blocks. 2017-06-02 14:39:00 -04:00
Rahul
f9772ea2ef Ensure visualizer displays on top of other UI
There was an issue where most of the visualizer was visible but the module size details displayed when hovering over a segment were hidden behind some UI elements. Setting a high z-index fixes it.
2017-05-11 19:58:23 -07:00
Jesse Rosenberger
a5a3611de8 New bundle-visualizer package for analyzing initial client bundles.
This package is required to be ran with `--production` in order to for
it to accurately use data from the minifier which is only provided when
emulating or actually in production.  The additional work required in
this mode is too costly to run during normal development as the
minification process (provided by UglifyJS, one of the fastest
minifiers) is still quite slow.

Once added, this package will display a sundial chart showing the weight
of the modules included in the application, in the web-browser, on top
of your existing application.

While maybe not the best final product, it's certainly something we can
iterate on and improve.

This package should be removed before bundling/deploying for production.
2017-05-11 01:16:59 +03:00