diff options
author | Ven <vendicated@riseup.net> | 2022-10-23 23:23:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 23:23:52 +0200 |
commit | 5fac8be0ae68cbbdf3514973cbf925a31a765ef5 (patch) | |
tree | 8c184e0a2a9c8f4480e4c3880a58833e089a3da6 /scripts/build/buildWeb.mjs | |
parent | ffbb52512cd61764cfe04c1cf2707eb63d5e57bf (diff) | |
download | Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.gz Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.bz2 Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.zip |
Vencord Standalone without git/node (#148)
Diffstat (limited to 'scripts/build/buildWeb.mjs')
-rwxr-xr-x | scripts/build/buildWeb.mjs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs index 009d5e8..f0197b7 100755 --- a/scripts/build/buildWeb.mjs +++ b/scripts/build/buildWeb.mjs @@ -26,7 +26,7 @@ import { join } from "path"; // wtf is this assert syntax import PackageJSON from "../../package.json" assert { type: "json" }; -import { commonOpts, fileIncludePlugin, gitHashPlugin, globPlugins } from "./common.mjs"; +import { commonOpts, fileIncludePlugin, gitHashPlugin, gitRemotePlugin, globPlugins } from "./common.mjs"; /** * @type {esbuild.BuildOptions} @@ -40,11 +40,13 @@ const commonOptions = { plugins: [ globPlugins, gitHashPlugin, + gitRemotePlugin, fileIncludePlugin ], target: ["esnext"], define: { - IS_WEB: "true" + IS_WEB: "true", + IS_STANDALONE: "true" } }; |