Updated build command in package.json to move build files to server/public
parent
bcedfac3e6
commit
978d49f045
|
|
@ -40,7 +40,7 @@
|
||||||
"analyze-main": "source-map-explorer build/static/js/main.*",
|
"analyze-main": "source-map-explorer build/static/js/main.*",
|
||||||
"analyze-chunk": "source-map-explorer build/static/js/2.*",
|
"analyze-chunk": "source-map-explorer build/static/js/2.*",
|
||||||
"start": "HTTPS=true PORT=4443 react-scripts start",
|
"start": "HTTPS=true PORT=4443 react-scripts start",
|
||||||
"build": "react-scripts build",
|
"build": "react-scripts build && rm -rf ../server/public/* && cp -r build/* ../server/public/",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue