mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 11:43:59 -05:00
Fix/prod build command (#901)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
4e8bad0c1d
commit
184a972c26
2 changed files with 2 additions and 1 deletions
|
@ -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.
|
This will build the app in production mode and save it into the `build` folder.
|
||||||
The production build is optimized for best performance, minimized
|
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!
|
and the filenames include a hash value of the content. Don't edit them by hand!
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
"serve:build": "http-server build/ -s -p 3001 -P \"http://127.0.0.1:3001?\"",
|
"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:test": "cross-env REACT_APP_TEST_MODE=true craco build",
|
||||||
"build:production": "craco build",
|
"build:production": "craco build",
|
||||||
"analyze": "cross-env ANALYZE=true craco build:production",
|
"analyze": "cross-env ANALYZE=true craco build",
|
||||||
"test": "craco test",
|
"test": "craco test",
|
||||||
"lint": "eslint --max-warnings=0 --ext .ts,.tsx src",
|
"lint": "eslint --max-warnings=0 --ext .ts,.tsx src",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
|
|
Loading…
Reference in a new issue