From 66f18ac0a339ca4d32ba2f641701ff408ac8cab3 Mon Sep 17 00:00:00 2001 From: Elliott Tallis Date: Sun, 26 Jul 2026 18:24:28 +0100 Subject: [PATCH] Unhardcode IS_STANDALONE in web build (#4238) --- scripts/build/buildWeb.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs index 6cbb16446..8fa0c59fe 100644 --- a/scripts/build/buildWeb.mjs +++ b/scripts/build/buildWeb.mjs @@ -24,7 +24,7 @@ import { appendFile, mkdir, readdir, readFile, rm, writeFile } from "fs/promises import { join } from "path"; import Zip from "zip-local"; -import { BUILD_TIMESTAMP, commonOpts, globPlugins, IS_DEV, IS_REPORTER, IS_ANTI_CRASH_TEST, VERSION, commonRendererPlugins, buildOrWatchAll, stringifyValues } from "./common.mjs"; +import { BUILD_TIMESTAMP, commonOpts, globPlugins, IS_DEV, IS_REPORTER, IS_ANTI_CRASH_TEST, IS_STANDALONE, VERSION, commonRendererPlugins, buildOrWatchAll, stringifyValues } from "./common.mjs"; /** * @type {import("esbuild").BuildOptions} @@ -44,7 +44,7 @@ const commonOptions = { IS_WEB: true, IS_EXTENSION: false, IS_USERSCRIPT: false, - IS_STANDALONE: true, + IS_STANDALONE, IS_DEV, IS_REPORTER, IS_ANTI_CRASH_TEST,