You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, I'm down for whatever way you want to handle it. Having them in dev is great and I think you should absolutely have that option if you want. I don't think there is an expectation that they disappear entirely.
As long as prop-types isn't a peer dep or directly referenced in a production bundle (via NODE_ENV or Babel plugin or similar) it would be much better from a consumption standpoint.
prop-types
appearing in production builds makes downstream consumption with rollup or another bundler more complex than it should be.As it stand today, I have to ship
prop-types
with my bundle or utilize babel + plugin to shake outprop-types
.The text was updated successfully, but these errors were encountered: