Skip to content

Instantly share code, notes, and snippets.

@yohangz
Created December 20, 2017 07:44
Show Gist options
  • Save yohangz/a2508d3b103530aaa81621d228769bfd to your computer and use it in GitHub Desktop.
Save yohangz/a2508d3b103530aaa81621d228769bfd to your computer and use it in GitHub Desktop.
React Create App package.json modification
{
...
"scripts": {
...
"build": "rimraf ../public && react-scripts build && ncp build ../public && rimraf build",
...
},
...
"proxy": "http://localhost:9000",
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment