antonmedv / jsize

Find out minified and gzipped npm package size
MIT License
178 stars 12 forks source link

Add css loader #34

Closed antonmedv closed 7 years ago

antonmedv commented 7 years ago

Will be cool to have a simple css loader to be able to get size of stuff like react-toolbox.

DylanPiercey commented 7 years ago

I feel like this might be more of a pain than it's worth.

Firstly webpack is completely changing how CSS is handled in webpack 4. It would also complicate the UI because we wouldn't know if we needed to render a CSS section until after compiling (unless we just included it in the size of the js bundle). Also most people preprocess CSS which means that it'd only help in a small number of cases.

antonmedv commented 7 years ago

Nice reason, okay