From 191f42e4bdce61659652b25f212e7a7deb1761e4 Mon Sep 17 00:00:00 2001 From: Eric Nguyen Date: Fri, 9 Feb 2024 15:51:58 +0100 Subject: [PATCH] fix: fix craco build Linked to: https://github.com/dilanx/craco/issues/522#issuecomment-1936020671 --- taxonomy-editor-frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taxonomy-editor-frontend/package.json b/taxonomy-editor-frontend/package.json index 6ee9a319..0996ee7b 100644 --- a/taxonomy-editor-frontend/package.json +++ b/taxonomy-editor-frontend/package.json @@ -23,7 +23,7 @@ }, "scripts": { "start": "GENERATE_SOURCEMAP=false craco start", - "build": "craco build", + "build": "NODE_ENV=production craco build", "test": "craco test", "prepare": "cd .. && husky install taxonomy-editor-frontend/.husky", "lint": "prettier --write .",