material-components / material-components-web-catalog

Catalog of Material Components for the web (MDC Web)
https://material-components.github.io/material-components-web-catalog/
Apache License 2.0
116 stars 38 forks source link

chore: Explicitly reference index.js under MDC packages #211

Closed kfranqueiro closed 6 years ago

kfranqueiro commented 6 years ago

Currently we have a mix of MDC imports that explicitly reference index, explicitly reference dist/mdc.*.js, and others that just import the package root.

This PR updates so that everything references index, since I already configured our toolchain to process MDC's code through babel back in #43. It saves roughly 17KB in the minified/gzipped JS produced by the build on master, and will save more in future releases when considering that https://github.com/material-components/material-components-web/pull/3245 will change the behavior of package-root imports.