Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
janimo
on Oct 17, 2018
|
parent
|
context
|
favorite
| on:
Evergreen: a React UI Framework built by Segment
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?
nullbyte
on Oct 17, 2018
[–]
Tree shaking isn't automatically supported for CSS. You can use third party tools like PurifyCSS though.
janimo
on Oct 17, 2018
|
parent
[–]
It's the js bundle that is large.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: