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:
parent
0670110593
commit
06cfc3d29a
@ -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[]} */
|
||||
|
||||
@ -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[]} */
|
||||
|
||||
@ -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
1
src/js/globals.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user