i have developped an application React/Redux with the Meteor JS framework.
The installation of React in meteor is class (npm command) :
meteor npm install --save react
But when i check with the react-devtools extension, i see that React Version is the development build instead of production build.
(the message is "This page is using the development build of React. 🚧 ")
What have i to do to use the react production build instead in my meteor app ? i already tried to set environnement variables :
export NODE_ENV='production'
but the result is the same.
Running the meteor with production flag e.g. meteor --production
should mimic how the meteor app builds for production. To learn more about the deployment of the meteor apps read the meteor guide about deployment and monitoring.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With