Skip to content

Commit 64be72e

Browse files
committed
fix typeof check
1 parent 1ad3516 commit 64be72e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/has-php-translations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function checkProcessEnv(): boolean {
88

99
function checkImportMeta(): boolean {
1010
/** @ts-ignore */
11-
return typeof import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP !== 'undefined' &&
11+
return typeof import.meta.env !== 'undefined' &&
1212
/** @ts-ignore */
1313
import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP
1414
? true

0 commit comments

Comments
 (0)