Because closure compilation isn't affected by the number of modules anymore, we can decouple "grab-bag" modules such as components. By making modules smaller and more focused, we improve 1) code health of the project and 2) reduce the file size of our dependencies (although the # of deps may increase).
Additional ideas:
- Create a "dependency cleaner" which analyzes if a module no longer needs a particular dependency anymore.
- Inline multiple modules together (to avoid the XHR overhead of fetching an additional file).
Comment 1 by bugdroid1@chromium.org
, Feb 2 2017