aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack/webpack.manifest.js
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-02-23 20:49:17 -0500
committerAjay Ramachandran <[email protected]>2020-02-23 20:49:17 -0500
commit716861da189d7084d01b6311e316a89ef7a19f2a (patch)
treec3fa98fa9956b6c2cf01d26327bc8393710f8331 /webpack/webpack.manifest.js
parentf00337c376d57ca1d3ef0c8afab84f972b10c761 (diff)
downloadSponsorBlock-716861da189d7084d01b6311e316a89ef7a19f2a.tar.gz
SponsorBlock-716861da189d7084d01b6311e316a89ef7a19f2a.zip
Fixed beta builds
Diffstat (limited to 'webpack/webpack.manifest.js')
-rw-r--r--webpack/webpack.manifest.js5
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);