Unhardcode IS_STANDALONE in web build (#4238)

This commit is contained in:
Elliott Tallis 2026-07-26 18:24:28 +01:00 • committed by GitHub
parent 42b3ae8026
commit 66f18ac0a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,