Skip to content

Commit 83a3a59

Browse files
author
Andrey Helldar
committed
Fix for #49
1 parent 4048386 commit 83a3a59

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,5 +8,5 @@ function checkProcessEnv(): boolean {
88

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

0 commit comments

Comments
 (0)