1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-09 16:21:51 +00:00

Remove unused G_HAVE_ASSERT define

Not used anywhere except exposing BUILD_OPTIONS for mods.
This commit is contained in:
Даниїл Григор'єв 2025-06-14 04:55:15 +03:00
parent 0670110593
commit 06cfc3d29a
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D
4 changed files with 0 additions and 4 deletions

View File

@ -17,7 +17,6 @@ const globalDefs = {
G_ALL_UI_IMAGES: JSON.stringify(getAllResourceImages()),
G_IS_RELEASE: "false",
G_HAVE_ASSERT: "true",
};
/** @type {import("webpack").RuleSetRule[]} */

View File

@ -18,7 +18,6 @@ const globalDefs = {
"G_ALL_UI_IMAGES": JSON.stringify(getAllResourceImages()),
"G_IS_RELEASE": "true",
"G_HAVE_ASSERT": "false",
};
/** @type {import("webpack").RuleSetRule[]} */

View File

@ -17,7 +17,6 @@ export function setGlobalApp(app) {
}
export const BUILD_OPTIONS = {
HAVE_ASSERT: G_HAVE_ASSERT,
APP_ENVIRONMENT: G_APP_ENVIRONMENT,
IS_DEV: G_IS_DEV,
IS_RELEASE: G_IS_RELEASE,

1
src/js/globals.d.ts vendored
View File

@ -12,7 +12,6 @@ declare function assertAlways(
declare const abstract: void;
declare const G_APP_ENVIRONMENT: string;
declare const G_HAVE_ASSERT: boolean;
declare const G_BUILD_TIME: number;
declare const G_BUILD_COMMIT_HASH: string;