From 6d597a147a85b198f05455076ee53e42e8b6b12d Mon Sep 17 00:00:00 2001 From: Nick Coutsos Date: Sat, 7 May 2022 00:25:37 -0400 Subject: Use env-cmd for production build --- app/package.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/package.json') diff --git a/app/package.json b/app/package.json index 53b24bc..c3b43c3 100644 --- a/app/package.json +++ b/app/package.json @@ -20,6 +20,7 @@ "scripts": { "start": "react-scripts start", "build": "react-scripts build", + "build:production": "env-cmd -f .env.production npm run build", "test": "react-scripts test", "eject": "react-scripts eject" }, @@ -40,5 +41,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "env-cmd": "^10.1.0" } } -- cgit v1.2.3