aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/build.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/build.mjs')
-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([