This repo contains a set of projects that can be used to compare the size of the traditional Angular Material components to their MDC-based equivalents.
The results of the size comparison can be found in the results/
directory. Each project
has a directory under the results directory that contains a size-summary.txt
showing the
overall JS and CSS sizes as well as the source-map-explorer output for both the es5 and es2015 JS.
The current list of projects can be found in the projects/
directory.
yarn build <project-name>
yarn start <project-name>
yarn new <component-name>
The command will create 2 new projects under the projects/
directory:
mat-<component-name>
for the non-MDC based versionmat-mdc-<component-name>
for the MDC based version
After completion the command will output a lit of files with open TODOs that should be completed before committing.
yarn collect-sizes