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.
Currently we have a mix of MDC imports that explicitly reference
index
, explicitly referencedist/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.