From 4a1b4c63bad5c47a858aa9036c5e56db474ee21a Mon Sep 17 00:00:00 2001 From: Gabriel Pastori <58153955+gabrielpastori1@users.noreply.github.com> Date: Sun, 17 Dec 2023 14:15:17 -0300 Subject: [PATCH] fix: import.meta.globEager --- package.json | 2 +- src/plugins/vuetify.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 61d2f1d..981fbce 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "evolution-manager", "description": "Evolution Manager is an open-source interface for managing the Evolution API, simplifying the creation and administration of API instances with advanced features and diverse integrations.", - "version": "0.4.7", + "version": "0.4.8", "main": "dist", "engines": { "node": ">=16.0.0" diff --git a/src/plugins/vuetify.js b/src/plugins/vuetify.js index 3d5f2d0..f505884 100644 --- a/src/plugins/vuetify.js +++ b/src/plugins/vuetify.js @@ -17,7 +17,7 @@ import { createI18n, useI18n } from 'vue-i18n' // import all files from src/i18n const messages = Object.fromEntries( Object.entries( - import.meta.globEager('../i18n/*.js') + import.meta.glob('../i18n/*.js', { eager: true }) ).map(([key, value]) => { const locale = key.match(/([A-Za-z0-9-_]+)\./i)[1] return [locale, value.default]