diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-07 21:29:31 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-07 21:29:31 +0100 |
commit | a13c0df1cdab5476b21aa8c0ec04f3778fe21e11 (patch) | |
tree | 76dd4b31e31d639397f9491948003563e53fb088 /scripts/build/build.mjs | |
parent | 0af4579204fcbabbce239b2fbd4dfef0df58774d (diff) | |
download | Vencord-a13c0df1cdab5476b21aa8c0ec04f3778fe21e11.tar.gz Vencord-a13c0df1cdab5476b21aa8c0ec04f3778fe21e11.tar.bz2 Vencord-a13c0df1cdab5476b21aa8c0ec04f3778fe21e11.zip |
build: Add metadata header to all bundles
Diffstat (limited to 'scripts/build/build.mjs')
-rwxr-xr-x | scripts/build/build.mjs | 11 |
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([ |