Answer the question
In order to leave comments, you need to log in
How to properly build a React project on Heroku?
Made a project on React, reached the deployment on Heroku.
I can not figure out the correct setting of packege.json, namely "scripts".
Now it looks like this:
"scripts": {
"start": "serve -s build",
"build": "set HTTPS=true&&react-scripts build",
"test": "set HTTPS=true&&react-scripts test --env=jsdom",
"eject": "set HTTPS=true&&react-scripts eject"
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question