Skip to content

Commit 9bfc05f

Browse files
committed
fix(build): Remove lazy-loading of sentry builds
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 337f334 commit 9bfc05f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gulpfile.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ var crx3 = require('crx3')
88
var webstoreClient = require('chrome-webstore-upload')
99
var rename = require('gulp-rename')
1010
var path = require('path')
11+
var child_process = require('child_process')
1112

1213
// Provide a dummy credential file for third-party builders
1314
try {
@@ -109,6 +110,8 @@ const js = async function() {
109110
resolve()
110111
})
111112
)
113+
// Remove lazy loading from sentry
114+
child_process.execSync(`sed -i 's!"https://browser.sentry-cdn.com"!""!' ${paths.distJs}/*`)
112115
html(statsJson)
113116
}
114117

0 commit comments

Comments
 (0)