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.
2 parents 4048386 + 83a3a59 commit 279892dCopy full SHA for 279892d
src/utils/has-php-translations.ts
@@ -8,5 +8,5 @@ function checkProcessEnv(): boolean {
8
9
function checkImportMeta(): boolean {
10
/** @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
+ return typeof import.meta.env !== 'undefined' && import.meta.env.VITE_LARAVEL_VUE_I18N_HAS_PHP ? true : false
12
}
0 commit comments