We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c531f0 commit 5b06cc1Copy full SHA for 5b06cc1
packages/core/src/utils/logger.ts
@@ -9,7 +9,6 @@ function resolveRuntimeMode(): string {
9
// import.meta may be undefined when this file is executed in Node during Vite config bundling
10
try {
11
// Using optional chaining to avoid ReferenceErrors when import.meta is not defined
12
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
13
const modeFromImportMeta = (import.meta as any)?.env?.MODE as string | undefined
14
if (modeFromImportMeta) { return modeFromImportMeta }
15
}
0 commit comments