aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/build.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/build.mjs')
-rwxr-xr-xscripts/build/build.mjs11
1 files changed, 1 insertions, 10 deletions
diff --git a/scripts/build/build.mjs b/scripts/build/build.mjs
index 82264ee..3d43269 100755
--- a/scripts/build/build.mjs
+++ b/scripts/build/build.mjs
@@ -19,7 +19,7 @@
import esbuild from "esbuild";
-import { commonOpts, gitHash, globPlugins, isStandalone, watch } from "./common.mjs";
+import { commonOpts, globPlugins, isStandalone, watch } from "./common.mjs";
const defines = {
IS_STANDALONE: isStandalone,
@@ -30,12 +30,6 @@ if (defines.IS_STANDALONE === "false")
// for the specific platform we're on
defines["process.platform"] = JSON.stringify(process.platform);
-const header = `
-// Vencord ${gitHash}
-// Standalone: ${defines.IS_STANDALONE}
-// Platform: ${defines["process.platform"] || "Universal"}
-`.trim();
-
/**
* @type {esbuild.BuildOptions}
*/
@@ -48,9 +42,6 @@ const nodeCommonOpts = {
bundle: true,
external: ["electron", ...commonOpts.external],
define: defines,
- banner: {
- js: header
- }
};
await Promise.all([