diff options
author | Ven <vendicated@riseup.net> | 2022-10-30 02:58:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 02:58:11 +0100 |
commit | 3af9a14a0e78be88c5a048b79187c32796c06a7c (patch) | |
tree | a7fa6601555fd03b15da5685df40c3d33cbb89bd /scripts/build/buildWeb.mjs | |
parent | 739b1e47d40d645076bb74d82355f5e45edcd84e (diff) | |
download | Vencord-3af9a14a0e78be88c5a048b79187c32796c06a7c.tar.gz Vencord-3af9a14a0e78be88c5a048b79187c32796c06a7c.tar.bz2 Vencord-3af9a14a0e78be88c5a048b79187c32796c06a7c.zip |
Patcher: More useful errors with code diffs (#177)
* Patcher: More useful errors with code diffs
* Nicer log formatting
* PluginCards: ellipsises
Diffstat (limited to 'scripts/build/buildWeb.mjs')
-rwxr-xr-x | scripts/build/buildWeb.mjs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs index f0197b7..1efdd8f 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, gitRemotePlugin, globPlugins } from "./common.mjs"; +import { commonOpts, fileIncludePlugin, gitHashPlugin, gitRemotePlugin, globPlugins, watch } from "./common.mjs"; /** * @type {esbuild.BuildOptions} @@ -46,7 +46,8 @@ const commonOptions = { target: ["esnext"], define: { IS_WEB: "true", - IS_STANDALONE: "true" + IS_STANDALONE: "true", + IS_DEV: JSON.stringify(watch) } }; |