Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react build command

"scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "deploy": "serve -s build"
  }

npm install -g serve
npm run-script deploy
 
PREVIOUS NEXT
Tagged: #react #build #command
ADD COMMENT
Topic
Name
9+4 =