Is there any quick way to get the size of an addon?

So ember addon ecosystem is great. Actually so great that it is easy to keep installing until you end up with a monstrous vendor.js file. Is there any way how to guess the size of an addon? Other than installing it and comparing the size of the vendor file before and after?

Perhaps you can use broccoli-uglify-js in a nodejs tool to do the same minification. Perhaps you have to add broccoli-clean-css or broccoli-csso to this tool for css minification. A better way will be to ask the http://emberobserver.com/ guys and girl to add the size there. That is useful until ember-cli only adds what you use in your app. (Perhaps still a good indicator after that)

1 Like