tleunen / react-mdl

React Components for Material Design Lite
https://tleunen.github.io/react-mdl/
MIT License
1.76k stars 255 forks source link

Shrink size of react-mdl #367

Closed leipert closed 8 years ago

leipert commented 8 years ago

Hey there,

First of all: Thanks for your work 👍

I just peeked into my node_modules folder and i found, that react-mdl takes up about ~45MB of disk space which is around 10% of my total node_modules folder. (the reason i looked)

Is it really necessary to have ALL css files in /extra installed by react-mdl or could /extra/css be put into the .npmignore?

tleunen commented 8 years ago

Users could use custom css for custom styles so yes unfortunately this is required :/

With v2, this process will be a lot easier and users will be able to customize the styles using settings file instead.

Be patient ^^ ;)