Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
janimo
· 8y ago · 0 comments
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?
Comments
[–]
nullbyte
8y ago
Tree shaking isn't automatically supported for CSS. You can use third party tools like PurifyCSS though.
[–]
janimo
OP
8y ago
It's the js bundle that is large.