From 66589c2dbaf5070c18fae816db5846618557b6f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Sat, 15 Jan 2022 17:18:24 -0800 Subject: [PATCH] Also add GENERATE_SOURCEMAP=false to publish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4e14863..9f7d6f0 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "postinstall": "electron-builder install-app-deps", "analyze": "source-map-explorer 'build/static/js/*.js'", "eject": "react-scripts eject", - "publish": "PUBLIC_URL=./ react-scripts build && tsc -p src/main && electron-builder --publish always --config assets/builder-publish.json" + "publish": "GENERATE_SOURCEMAP=false PUBLIC_URL=./ react-scripts build && tsc -p src/main && electron-builder --publish always --config assets/builder-publish.json" }, "build": { "appId": "com.boson.mac",