VencordWeb: Migrate to manifest v3

This commit is contained in:
Vendicated 2022-11-16 16:23:52 +01:00
parent e1de6f88fe
commit a788813383
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
4 changed files with 66 additions and 44 deletions

View file

@ -76,7 +76,7 @@ zip({
dist: {
"Vencord.js": readFileSync("dist/browser.js")
},
...Object.fromEntries(await Promise.all(["background.js", "content.js", "manifest.json"].map(async f => [
...Object.fromEntries(await Promise.all(["modifyResponseHeaders.json", "content.js", "manifest.json"].map(async f => [
f,
await readFile(join("browser", f))
]))),