From c53eab7053228d67e986790158e305907e1ede4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Storl=C3=B8kken=20Melseth?= Date: Fri, 13 Oct 2023 13:52:02 +0200 Subject: [PATCH] fix: dont generate sourcemap --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7deaed4ac5..299c149e21 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "scripts": { "start": "yarn verifyCacheVersion && d2-app-scripts start", "start:forCypress": "node scripts/startAppForCypress.js", - "build": "yarn verifyCacheVersion && d2-app-scripts build && cp ./package.json ./build/app/package.json", + "build": "yarn verifyCacheVersion && GENERATE_SOURCEMAP=false d2-app-scripts build && cp ./package.json ./build/app/package.json", "build:standalone": "GENERATE_SOURCEMAP=false d2-app-scripts build --standalone", "test": "d2-app-scripts test", "test:debug": "react-scripts --inspect-brk test --runInBand",