diff --git a/docs/installation.html b/docs/installation.html index dbd292ef1a..0f10b5fd42 100644 --- a/docs/installation.html +++ b/docs/installation.html @@ -154,6 +154,8 @@ npm start
Create React App doesn't handle backend logic or databases; it just creates a frontend build pipeline, so you can use it with any backend you want. It uses build tools like Babel and webpack under the hood, but works with zero configuration.
+When you're ready to deploy to production, running npm run build will create an optimized build of your app in the build folder. You can learn more about Create React App from its README and the User Guide.
Run Browserify with NODE_ENV environment variable set to production and use UglifyJS as the last build step so that development-only code gets stripped out.
If you use Create React App, npm run build will create an optimized build of your app in the build folder.
Use rollup-plugin-replace plugin together with rollup-plugin-commonjs (in that order) to remove development-only code. See this gist for a complete setup example.