diff --git a/gulp/webpack.config.js b/gulp/webpack.config.js index 71b06a64..9d0bf5d0 100644 --- a/gulp/webpack.config.js +++ b/gulp/webpack.config.js @@ -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[]} */ diff --git a/gulp/webpack.production.config.js b/gulp/webpack.production.config.js index 0cba84a3..bcce1ccf 100644 --- a/gulp/webpack.production.config.js +++ b/gulp/webpack.production.config.js @@ -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[]} */ diff --git a/src/js/core/globals.js b/src/js/core/globals.js index 41ffdf48..4d901996 100644 --- a/src/js/core/globals.js +++ b/src/js/core/globals.js @@ -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, diff --git a/src/js/globals.d.ts b/src/js/globals.d.ts index 7bb2887f..6a4b1292 100644 --- a/src/js/globals.d.ts +++ b/src/js/globals.d.ts @@ -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;