patch: send sourcemap to sentry at build

This commit is contained in:
Edwin Joassart 2023-01-12 12:54:57 +01:00
parent 11c5a802b7
commit 02d73b4cc9

View File

@ -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": {