mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-02-02 22:03:09 -08: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
4 changed files with 0 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue