-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.6.0 increased size considerably #83
Comments
Yes, thanks for bringing this to my attention. :) Which build are you using? |
I think the one at the root, cause |
Current bundle size is not 2kb, as bundle-phobia displays. It is 30 kb, as long all the used libraries, including prop-types, are inlined by rollup. |
@theKashey I think you're right! Even though The bundle stats of our production build shows the following stats for
I suggest we make |
Just leaving this here for reference: facebook/create-react-app#209 tl;dr |
An update as of v1.9.2: v1.5.1
1.9.2
But...Assuming you have your build process set up correctly (meaning you set Which should leave us with ~2.4 KB minified. I think that should close this issue. |
I think caused by the addition of
prop-types
:People using Flow/TypeScript don't use PropTypes. Would you consider removing them from
dependencies
, and stripping them out during build or similar?The text was updated successfully, but these errors were encountered: