Fix/prod build command (#901)

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
Tilman Vatteroth 2021-01-02 13:06:21 +01:00 committed by GitHub
parent 4e8bad0c1d
commit 184a972c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -64,3 +64,4 @@ You can inspect the generated production-bundle files to look for optimization i
This will build the app in production mode and save it into the `build` folder.
The production build is optimized for best performance, minimized
and the filenames include a hash value of the content. Don't edit them by hand!

View file

@ -113,7 +113,7 @@
"serve:build": "http-server build/ -s -p 3001 -P \"http://127.0.0.1:3001?\"",
"build:test": "cross-env REACT_APP_TEST_MODE=true craco build",
"build:production": "craco build",
"analyze": "cross-env ANALYZE=true craco build:production",
"analyze": "cross-env ANALYZE=true craco build",
"test": "craco test",
"lint": "eslint --max-warnings=0 --ext .ts,.tsx src",
"eject": "react-scripts eject",