Implement Chrome extension loading myself because electron-devtools-installer is ultra bloated

This commit is contained in:
Vendicated 2022-10-22 06:31:47 +02:00
parent 44f6f71c3e
commit c116d00d03
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
9 changed files with 214 additions and 130 deletions

View file

@ -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([