About 796,000 results
Open links in new tab
  1. reactjs - How can I run a build of React app? - Stack Overflow

    Mar 8, 2018 · By looking at "react-scripts": "1.0.10", it seems you created the app using create-react-app. create-react-app is using yarn by default. So you can run yarn then yarn build (same as npm …

  2. Use custom build output folder when using create-react-app

    Jan 6, 2017 · Facebook provides a create-react-app command to build react apps. When we run npm run build, we see output in /build folder. npm run build Builds the app for production to the build folder....

  3. How to run build version using create-react-app? - Stack Overflow

    Mar 10, 2018 · According to the official create-react-app website. When you run npm run build you create a build directory with a production build of your app. After running the command above the …

  4. create-react-app npm run build command - Stack Overflow

    Sep 30, 2016 · I have a built a small React application with create-react-app, and it runs fine from the local server after running npm start. OK so far. However, when I run npm run build, the process …

  5. reactjs - How to set build .env variables when running create-react-app ...

    Create React App sets the NODE_ENV to 'production' for you on build, so you don't need to worry about when to set it to production. Note: you must restart your server (e.g. run npm start again) to detect …

  6. How to run production react app in local with local back-end

    Jul 9, 2019 · 32 I have seen using production react app with server in local. But mostly I found the way is running production react app using express.js with Heroku. How to running production react app with …

  7. How to create and run a development build of an application using ...

    Oct 23, 2019 · npm run build creates production build of the project. How do I create development build? I'm using gradle-node-plugin to build the artifact. The project has standard create-react-app …

  8. Create react app production build very slow on high end machine

    May 22, 2020 · Create React App (CRA) was once the go-to tool for creating new React projects. It provided a simple and easy-to-use command-line interface (CLI) for setting up new React …

  9. How can I configure my prod env vars when I run my build process?

    Apr 28, 2020 · I don't think the build-time configuration options like setting REACT_APP_ env vars or Angular's environment feature are particularly useful; they mean you have to create a separate build …

  10. How to handle multiple environments in React app

    In case you are with create-react-app, and only need local and production environment go with Adding Custom Environment Variables build-in feature. Otherwise, a useful alternative is env-cmd.