Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In a fresh create-react-app project, their getting started example that includes only a button results in a minified js of 570K. Apparently the whole of Blueprint.js is included as a dependency. Shouldn't tree shaking take care of this seamlessly?


Tree shaking isn't automatically supported for CSS. You can use third party tools like PurifyCSS though.


It's the js bundle that is large.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: