Skip to content

Commit

Permalink
Completely disable sentry in firefox extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Jun 28, 2024
1 parent c757e97 commit 3d6b18b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# Raindrop.io 5.0
Mono repo for Raindrop.io web app, browser extension and desktop app

## Hi Mozilla Add-on review!
[Build highlight.js](https://github.com/raindropio/highlight)

## Build
Be sure to run `npm i` before calling any commands below
| target | command | notes |
|----------|---------|-------|
| web | `npm run build` |
| electron | `npm run build:electron` |
| chrome | `npm run build:extension:chrome` |
| firefox | `npm run build:extension:firefox` |
| firefox | `npm run build:extension:firefox` | Saved to `dist/firefox/prod`
| opera | `npm run build:extension:opera` |
| safari | `npm run build:extension:safari` | Then open **build/xcode** project

Expand Down
2 changes: 1 addition & 1 deletion build/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module.exports = ({ production, filename='[name].[contenthash]', sentry={} }, {
]),

//Sentry
...(production ? [
...(production && !sentry?.disabled ? [
new SentryCliPlugin({
org: 'oblako-corp',
project: 'app',
Expand Down
2 changes: 1 addition & 1 deletion build/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = (env={}, args={}) => {

switch(env.vendor) {
case 'chrome': env.sentry = { urlPrefix: 'chrome-extension://ldgfbffkinooeloadekpmfoklnobpien/' }; break
case 'firefox': env.sentry = { dryRun: true }; break //ignored, because reviewers complain
case 'firefox': env.sentry = { disabled: true }; break //ignored, because reviewers complain
case 'opera': env.sentry = { urlPrefix: 'chrome-extension://omkjjddnkfagilfgmbmeeffkljlpaglj/' }; break
case 'safari': env.sentry = { urlPrefix: 'safari-web-extension://F54B64D3-0D2D-4C9C-BDF5-8671C44683E7/' }; break
case 'safari-ios': env.sentry = { urlPrefix: 'safari-web-extension://F54B64D3-0D2D-4C9C-BDF5-8671C44683E7/' }; break
Expand Down
Binary file not shown.

0 comments on commit 3d6b18b

Please sign in to comment.