Updated build command in package.json to move build files to server/public
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@
|
||||
"analyze-main": "source-map-explorer build/static/js/main.*",
|
||||
"analyze-chunk": "source-map-explorer build/static/js/2.*",
|
||||
"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",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user