From 02d73b4cc97da2a017547383336752c98b510064 Mon Sep 17 00:00:00 2001 From: Edwin Joassart Date: Thu, 12 Jan 2023 12:54:57 +0100 Subject: [PATCH] patch: send sourcemap to sentry at build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ffd0256c..6478e17a 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "test-windows": "npm run lint && npm run test-gui && npm run test-shared && npm run test-spectron && npm run sanity-checks", "test": "echo npm run test-{linux,windows,macos}", "watch": "webpack serve --no-optimization-minimize --config ./webpack.dev.config.ts", - "uploadSourcemap": "sentry-cli -o $npm_config_SENTRY_ORG -p $npm_config_SENTRY_PROJECT releases files $npm_config_SENTRY_VERSION upload-sourcemaps ./generated/*.js.map", + "uploadSourcemap": "sentry-cli releases files $npm_config_SENTRY_VERSION upload-sourcemaps ./generated/*.js.map --org $npm_config_SENTRY_ORG --project $npm_config_SENTRY_PROJECT", "webpack": "webpack" }, "husky": {