aboutsummaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-22 06:31:47 +0200
committerVendicated <vendicated@riseup.net>2022-10-22 06:31:47 +0200
commitc116d00d037b9831b2d5cac4df15c10b0c6c4085 (patch)
tree26cd8c7c3c5feed0a3daddef69a28fc3a83f747d /scripts/build
parent44f6f71c3efd2e4e0f9dbd97ab4680ec76536052 (diff)
downloadVencord-c116d00d037b9831b2d5cac4df15c10b0c6c4085.tar.gz
Vencord-c116d00d037b9831b2d5cac4df15c10b0c6c4085.tar.bz2
Vencord-c116d00d037b9831b2d5cac4df15c10b0c6c4085.zip
Implement Chrome extension loading myself because electron-devtools-installer is ultra bloated
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/build.mjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/build.mjs b/scripts/build/build.mjs
index 1986369..163f4ce 100755
--- a/scripts/build/build.mjs
+++ b/scripts/build/build.mjs
@@ -29,8 +29,9 @@ const nodeCommonOpts = {
platform: "node",
target: ["esnext"],
minify: true,
+ bundle: true,
sourcemap: "linked",
- plugins: [...commonOpts.plugins, makeAllPackagesExternalPlugin],
+ external: ["electron"]
};
await Promise.all([