DigitalRiver / react-atlas

Composable React components with CSS Modules.
http://digitalriver.github.io/react-atlas/
MIT License
38 stars 25 forks source link

Reduce amount of CSS shipped with Atlas. #203

Open hbowden opened 7 years ago

hbowden commented 7 years ago

Currently Atlas ships with lot's of CSS that is not used and only bloats the size of Atlas bundles. Most of this CSS can be found in react-atlas/packages/react-atlas-default-theme/src/styles however some component specific styles are unused.

stuller commented 6 years ago

PurifyCSS would help identify unused CSS.

hbowden commented 6 years ago

@stuller Apparently there is a webpack plugin for PurifyCSS. We should probably import that.