Skip to content
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant