aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/build.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/build.mjs')
-rwxr-xr-xscripts/build/build.mjs5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/build.mjs b/scripts/build/build.mjs
index e044378..ce84fed 100755
--- a/scripts/build/build.mjs
+++ b/scripts/build/build.mjs
@@ -19,13 +19,14 @@
import esbuild from "esbuild";
-import { commonOpts, globPlugins, isStandalone, VERSION, watch } from "./common.mjs";
+import { BUILD_TIMESTAMP, commonOpts, globPlugins, isStandalone, updaterDisabled, VERSION, watch } from "./common.mjs";
const defines = {
IS_STANDALONE: isStandalone,
IS_DEV: JSON.stringify(watch),
+ IS_UPDATER_DISABLED: updaterDisabled,
VERSION: JSON.stringify(VERSION),
- BUILD_TIMESTAMP: Date.now(),
+ BUILD_TIMESTAMP,
};
if (defines.IS_STANDALONE === "false")
// If this is a local build (not standalone), optimise