Files
meteor/packages/non-core/bundle-visualizer/package.js
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

27 lines
554 B
JavaScript

Package.describe({
version: '1.2.3',
summary: 'Meteor bundle analysis and visualization.',
documentation: 'README.md',
});
Npm.depends({
"d3-selection": "1.0.5",
"d3-shape": "1.0.6",
"d3-hierarchy": "1.1.4",
"d3-transition": "1.0.4",
"d3-collection": "1.0.4",
"pretty-bytes": "4.0.2",
});
Package.onUse(function(api) {
api.use('isobuild:dynamic-import@1.5.0');
api.use([
'ecmascript',
'dynamic-import',
'fetch',
'webapp',
]);
api.mainModule('server.js', 'server');
api.mainModule('client.js', 'client');
});