Commit Graph

32 Commits

Author SHA1 Message Date
denihs
d03175d748 publish new version for bundle-visualizer 2024-09-12 15:37:15 -04:00
denihs
628dcd24d7 - release new bundle-visualizer version to be compatible with Meteor 3 2024-05-28 11:10:39 -04:00
denihs
d796200068 remove .npm from all packages to start fresh for node 18 2023-06-29 17:04:04 -04:00
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
James Burgess
a20f4e74d8 Replace http with fetch in bundle-visualizer (#10031) 2018-06-28 18:33:44 -04:00
James Burgess
fbea42ca7c Replace generic bundle names with arch names in bundle-visualizer (#10021) 2018-06-22 16:46:34 -04:00
Ben Newman
0765927393 Let bundle-visualizer tolerate WebAppInternals.staticFilesByArch. 2018-04-29 10:20:12 -04:00
Ben Newman
2179096387 Merge branch 'devel' into release-1.6.2 2018-03-29 10:25:28 -04:00
Ben Newman
b4af69796c Make bundle-visualizer depend on webapp, since it imports meteor/webapp. 2018-03-27 18:35:35 -04:00
Ben Newman
f14d50538e Merge branch 'devel' into release-1.6.2 2018-03-01 18:02:08 -05:00
ko-dever
ea7ef27f65 Fix a typo in bundle-visualizer README
Small typo fixed.
2018-02-26 10:43:19 +00:00
Ben Newman
18a3d0fd4f Load bundle-visualizer style.css dynamically. 2018-01-22 17:54:43 -05:00
Ben Newman
9a391d9b04 Fix #9428 by registering dynamic-import HTTP endpoint earlier. (#9465) 2017-12-12 17:27:41 -05:00
Ben Newman
ad80b2068c Bump bundle-visualizer patch version to 1.1.2. 2017-12-05 09:41:55 -05:00
Ben Newman
20fc65d2fe Go back to exporting packageName from bundle-visualizer/common.js.
This mistake was introduced by 95d093a17a.
2017-12-03 11:31:45 -05:00
Ben Newman
95d093a17a Use /__meteor__/bundle-visualizer/stats URL for bundle-visualizer stats. 2017-12-01 18:28:43 -05:00
Ben Newman
2482fac274 Make bundle-visualizer JSON stats more readable in dev tools. 2017-11-22 13:17:54 -05:00
Ben Newman
8e39fd7762 Make bundle-visualizer depend on dynamic-import directly again.
Since bundle-visualizer is a non-core package, it could be used with a
version of ecmascript that does not imply dynamic-import, though it
definitely requires support for `import()` to function properly.
2017-11-17 15:17:43 -05:00
Ben Newman
d0566bbb18 Make bundle-visualizer use HTTP instead of Meteor.call.
If you're trying to visualize the bundle of an application that does not
use ddp-client, it's annoying if bundle-visualizer pulls in all those
dependencies just to support itself.

cc @abernix
2017-11-17 13:11:20 -05:00
Ben Newman
b6f5d5c136 Update bundle-visualizer shrinkwrap to npm 5 format. 2017-09-18 17:30:40 -04:00
Ben Newman
4f43008aa0 Explicitly depend on d3-collection in bundle-visualizer.
The visualizer seems to have stopped working recently if you reinstall its
npm dependencies without using the existing npm-shrinkwrap.json file,
likely due to changes in indirect dependencies.

The good news is that the package now has far fewer npm dependencies.
However, since the sunburst.js module imports d3-collection explicitly, we
should definitely be depending directly on that package.

cc @abernix
2017-09-18 17:19:53 -04:00
Jesse Rosenberger
170de0c118 Change bundle-visualizer README to instruct --extra-packages.
The suggestion to `meteor add` and then `meteor remove` is no longer
relevant with the addition of the awesome new `--extra-packages`
option from @mpowaga in meteor/meteor#8769.
2017-07-26 00:37:21 +03:00
Jesse Rosenberger
6df0daebb8 Bump version of bundle-visualizer to 1.0.3.
For the change made in 79b1075ed.
2017-06-09 19:37:33 +03:00
Jesse Rosenberger
79b1075ede Remove check for standard-minifier-js@2.1.x from bundle-visualizer.
While this was helpful in one of the incarnations of the
bundle-visualizer during development it isn't relevant anymore since
the `.stats.json` will not be present in the bundle unless it was
created by a recent version of `standard-minifier-js` which passed
in `stats` (no older versions did this).

Removing this check will also make it possible for other minifiers to be
used with `bundle-visualizer` without them also needing to fork make
their own version.
2017-06-09 19:32:09 +03:00
Ben Newman
b75cdbfe6e Add 10px margin to left of bundle-visualizer path blocks. 2017-06-02 14:39:00 -04:00
Jesse Rosenberger
791d0cdd59 Add a README for the bundle-visualizer package. 2017-05-31 13:26:21 +03:00
Jesse Rosenberger
647e3a2fc5 Bump bundle-visualizer version to 1.0.1 in preparation for publishing. 2017-05-17 12:46:22 -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
Ben Newman
4cd46ded3c Minor tweaks to the meteor/non-core/bundle-visualizer package. 2017-05-11 13:16:42 -04: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