diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-11-22 07:19:10 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-11-22 07:19:10 +0800 |
commit | 4a42c816c2a1d45e28d1d7064a29092569b7e796 (patch) | |
tree | 9e212896e4b7f26f471e23c4b340566ad4d0eef6 | |
parent | 408bbe726f60c96d3fd2d8132900b822a1ca9fb6 (diff) | |
download | tangerine-wallet-browser-4a42c816c2a1d45e28d1d7064a29092569b7e796.tar tangerine-wallet-browser-4a42c816c2a1d45e28d1d7064a29092569b7e796.tar.gz tangerine-wallet-browser-4a42c816c2a1d45e28d1d7064a29092569b7e796.tar.bz2 tangerine-wallet-browser-4a42c816c2a1d45e28d1d7064a29092569b7e796.tar.lz tangerine-wallet-browser-4a42c816c2a1d45e28d1d7064a29092569b7e796.tar.xz tangerine-wallet-browser-4a42c816c2a1d45e28d1d7064a29092569b7e796.tar.zst tangerine-wallet-browser-4a42c816c2a1d45e28d1d7064a29092569b7e796.zip |
Ensure Opera build excludes chromereload file
Fixes #2504
-rw-r--r-- | gulpfile.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index f01762c2a..293179892 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -120,11 +120,17 @@ gulp.task('manifest:production', function() { './dist/firefox/manifest.json', './dist/chrome/manifest.json', './dist/edge/manifest.json', + './dist/opera/manifest.json', ],{base: './dist/'}) + + // Exclude chromereload script in production: .pipe(gulpif(!debug,jsoneditor(function(json) { - json.background.scripts = ["scripts/background.js"] + json.background.scripts = json.background.scripts.filter((script) => { + return !script.includes('chromereload') + }) return json }))) + .pipe(gulp.dest('./dist/', { overwrite: true })) }) |