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

Remove prop-types in production bundle #3101

Closed
RG100-EMUX opened this issue Sep 10, 2017 · 4 comments
Closed

Remove prop-types in production bundle #3101

RG100-EMUX opened this issue Sep 10, 2017 · 4 comments

Comments

@RG100-EMUX
Copy link

Hello. Webpack collects a bundle for the production version with unused prop-types, there is an option to include the package https://www.npmjs.com/package/babel-plugin-transform-react-remove-prop-types without eject? Thus, the size of the bundle would be greatly reduced.

@RG100-EMUX RG100-EMUX changed the title Remove prop-types on production bundle Remove prop-types in production bundle Sep 10, 2017
@hashtd
Copy link

hashtd commented Sep 23, 2017

+1

@oriSomething
Copy link

Does it handle context well?

@oliviertassinari
Copy link

oliviertassinari commented Nov 9, 2017

Does it handle context well?

@oriSomething We don't handle the context yet.

This is a duplicate of #209.

@Timer
Copy link
Contributor

Timer commented Nov 9, 2017

Closing in favor of #209, thanks @oliviertassinari !

@Timer Timer closed this as completed Nov 9, 2017
@lock lock bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants