Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Configure react-component project builds to wrap propTypes with an env check #145

Closed
insin opened this issue Jul 28, 2016 · 1 comment
Closed

Comments

@insin
Copy link
Owner

insin commented Jul 28, 2016

oliviertassinari/babel-plugin-transform-react-remove-prop-types#35 means we can now build React components which will have their propTypes automatically removed as part of the production build in the app they end up being used in.

Needs to be configurable, as there are reasons you'd want the propTypes to remain, e.g. facebook/create-react-app#209 (comment)

@insin insin mentioned this issue Jul 29, 2016
10 tasks
@insin
Copy link
Owner Author

insin commented Aug 16, 2016

Implemented in 0.12.0.

@insin insin closed this as completed Aug 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant