From 83a3a5996b02d735efd2f3018f2e823fbfa09082 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Sat, 23 Jul 2022 02:50:50 +0300 Subject: [PATCH] Fix for #49 --- src/utils/has-php-translations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/has-php-translations.ts b/src/utils/has-php-translations.ts index c035767..1164f0e 100644 --- a/src/utils/has-php-translations.ts +++ b/src/utils/has-php-translations.ts @@ -8,5 +8,5 @@ function checkProcessEnv(): boolean { function checkImportMeta(): boolean { /** @ts-ignore */ - return typeof import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP !== 'undefined' && import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP ? true : false + return typeof import.meta.env !== 'undefined' && import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP ? true : false }