Minified development version used in production builds
westbyb opened this issue · 2 comments
When I go to build my app for production, I get the following error:
Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.
Removing react-pullrefresh fixes the issue, and from what I can tell from the minified code, the process.env.NODE_ENV is undefined when it checks.
Following the guide provided here: https://facebook.github.io/react/docs/optimizing-performance.html#use-the-production-build
Thanks reporting, fixed with v1.6.5.
Sent from my Google Pixel using FastHub
Builds correctly now! Thanks!