aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/buildWeb.mjs
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-04-17 04:05:01 +0200
committerGitHub <noreply@github.com>2023-04-17 04:05:01 +0200
commit5305447f442b57443c4616ccd8d530c2c5e539b4 (patch)
treeae7eb4e71b1b2dffe15a5173d8282913a0c98e9d /scripts/build/buildWeb.mjs
parent76e74b3e40c82ef1fd992596298fbf967bcef4c0 (diff)
downloadVencord-5305447f442b57443c4616ccd8d530c2c5e539b4.tar.gz
Vencord-5305447f442b57443c4616ccd8d530c2c5e539b4.tar.bz2
Vencord-5305447f442b57443c4616ccd8d530c2c5e539b4.zip
firefox: Fix csp (QuickCss, themes, some plugins) (#554)
Diffstat (limited to 'scripts/build/buildWeb.mjs')
-rw-r--r--scripts/build/buildWeb.mjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs
index 98d56b0..cc27ea8 100644
--- a/scripts/build/buildWeb.mjs
+++ b/scripts/build/buildWeb.mjs
@@ -142,6 +142,7 @@ const appendCssRuntime = readFile("dist/Vencord.user.css", "utf-8").then(content
await Promise.all([
appendCssRuntime,
buildPluginZip("extension.zip", ["modifyResponseHeaders.json", "content.js", "manifest.json", "icon.png"], true),
- buildPluginZip("extension-unpacked", ["modifyResponseHeaders.json", "content.js", "manifest.json", "icon.png"], false),
+ buildPluginZip("chromium-unpacked", ["modifyResponseHeaders.json", "content.js", "manifest.json", "icon.png"], false),
+ buildPluginZip("firefox-unpacked", ["background.js", "content.js", "manifestv2.json", "icon.png"], false),
]);