From c116d00d037b9831b2d5cac4df15c10b0c6c4085 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 22 Oct 2022 06:31:47 +0200 Subject: Implement Chrome extension loading myself because electron-devtools-installer is ultra bloated --- scripts/build/build.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/build') 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([ -- cgit