diff options
author | Ajay Ramachandran <[email protected]> | 2020-02-23 20:49:17 -0500 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2020-02-23 20:49:17 -0500 |
commit | 716861da189d7084d01b6311e316a89ef7a19f2a (patch) | |
tree | c3fa98fa9956b6c2cf01d26327bc8393710f8331 /webpack/webpack.manifest.js | |
parent | f00337c376d57ca1d3ef0c8afab84f972b10c761 (diff) | |
download | SponsorBlock-716861da189d7084d01b6311e316a89ef7a19f2a.tar.gz SponsorBlock-716861da189d7084d01b6311e316a89ef7a19f2a.zip |
Fixed beta builds
Diffstat (limited to 'webpack/webpack.manifest.js')
-rw-r--r-- | webpack/webpack.manifest.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webpack/webpack.manifest.js b/webpack/webpack.manifest.js index 7f8e1f3b..63c82cdf 100644 --- a/webpack/webpack.manifest.js +++ b/webpack/webpack.manifest.js @@ -9,6 +9,7 @@ const manifest = require("../manifest/manifest.json"); const firefoxManifestExtra = require("../manifest/firefox-manifest-extra.json"); const chromeManifestExtra = require("../manifest/chrome-manifest-extra.json"); const betaManifestExtra = require("../manifest/beta-manifest-extra.json"); +const firefoxBetaManifestExtra = require("../manifest/firefox-beta-manifest-extra.json"); // schema for options object const schema = { @@ -46,6 +47,10 @@ class BuildManifest { if (this.options.stream === "beta") { mergeObjects(manifest, betaManifestExtra); + + if (this.options.browser.toLowerCase() === "firefox") { + mergeObjects(manifest, firefoxBetaManifestExtra); + } } let result = JSON.stringify(manifest); |