From 184a972c2665450a83a6eb5f13a3e17df5c43e90 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sat, 2 Jan 2021 13:06:21 +0100 Subject: [PATCH] Fix/prod build command (#901) Signed-off-by: Tilman Vatteroth --- README.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 32e04ff32..85dae845a 100644 --- a/README.md +++ b/README.md @@ -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! + diff --git a/package.json b/package.json index dd420ff65..39b6426a4 100644 --- a/package.json +++ b/package.json @@ -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",