Skip to content

Commit

Permalink
Merge pull request #52 from andreiio/fix/check-import-meta
Browse files Browse the repository at this point in the history
Reapply fix for VITE_LARAVEL_VUE_I18N_HAS_PHP error
  • Loading branch information
xiCO2k authored Jul 27, 2022
2 parents 1ad3516 + 64be72e commit 697166f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/has-php-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function checkProcessEnv(): boolean {

function checkImportMeta(): boolean {
/** @ts-ignore */
return typeof import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP !== 'undefined' &&
return typeof import.meta.env !== 'undefined' &&
/** @ts-ignore */
import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP
? true
Expand Down

0 comments on commit 697166f

Please sign in to comment.