From 2f648455d7791de2f6b427f8a8ea59ccb65f5d42 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 17 Jul 2023 11:39:27 -0400 Subject: [PATCH] ci: remove old build script --- build.js | 62 -------------------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 build.js diff --git a/build.js b/build.js deleted file mode 100644 index 3b871f6..0000000 --- a/build.js +++ /dev/null @@ -1,62 +0,0 @@ -import esbuild from "esbuild"; - -esbuild.buildSync({ - entryPoints: ["src/main/background.ts"], - outfile: "dist/background.js", - format: "iife", - bundle: true, - legalComments: "external", - // minify: true - define: { - global: "self", - }, - inject: ["./polyfill.js"], - external: ["node:stream"], -}); - -esbuild.buildSync({ - entryPoints: ["src/main/bootloader.ts"], - outfile: "dist/bootloader.js", - format: "iife", - bundle: true, - legalComments: "external", - // minify: true - define: { - global: "self", - }, -}); -esbuild.buildSync({ - entryPoints: ["src/main/bridge.ts"], - outfile: "dist/bridge.js", - format: "iife", - bundle: true, - legalComments: "external", - // minify: true - define: { - global: "self", - }, -}); /* -esbuild.buildSync({ - entryPoints: ["src/main/crypto.ts"], - outfile: "dist/crypto.js", - format: "iife", - bundle: true, - legalComments: "external", - // minify: true - define: { - global: "window", - }, - inject: ["./polyfill.js"], -}); -esbuild.buildSync({ - entryPoints: ["src/main/cryptoLoader.ts"], - outfile: "dist/cryptoLoader.js", - format: "iife", - bundle: true, - legalComments: "external", - // minify: true - define: { - global: "window", - } -}); -*/