We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In your webpack.config.js it's better to also add the one liner here in the production section:
new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify('production') } }),
Reasons are found here:
https://facebook.github.io/react/docs/optimizing-performance.html#use-the-production-build
Thanks for all your tutorials btw, I learned a lot !
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In your webpack.config.js it's better to also add the one liner here in the production section:
Reasons are found here:
https://facebook.github.io/react/docs/optimizing-performance.html#use-the-production-build
Thanks for all your tutorials btw, I learned a lot !
The text was updated successfully, but these errors were encountered: