React Native production build

React Native documentation tells you to change source code manually to switch between development and production builds.

https://facebook.github.io/react-native/docs/running-on-device.html#building-your-app-for-production

Is this the only option? Why isn't there a way that allows you to flag this and generate a production build using the same source code?

Comments

Popular posts from this blog

flutter websocket connection issue

Webpack 5 and Storybook 6 integration throws an error in DefinePlugin.js

Meaning of `{}` for return expression