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.
1 parent d5d6a07 commit a4d82abCopy full SHA for a4d82ab
src/index.ts
@@ -138,7 +138,7 @@ function setLanguage({ lang, messages }: LanguageInterface): string {
138
* It resolves the language file or data, from direct data, require or Promise.
139
*/
140
function resolveLang(callable: Function, lang: string): Promise<LanguageJsonFileInterface> {
141
- console.log('HAS PHP', process?.env?.LARAVEL_VUE_I18N_HAS_PHP);
+ console.log('HAS PHP', process.env.LARAVEL_VUE_I18N_HAS_PHP);
142
143
const data = callable(lang)
144
0 commit comments