Skip to content

Commit 4a1b4c6

Browse files
fix: import.meta.globEager
1 parent 1b40fae commit 4a1b4c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "evolution-manager",
33
"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.",
4-
"version": "0.4.7",
4+
"version": "0.4.8",
55
"main": "dist",
66
"engines": {
77
"node": ">=16.0.0"

src/plugins/vuetify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { createI18n, useI18n } from 'vue-i18n'
1717
// import all files from src/i18n
1818
const messages = Object.fromEntries(
1919
Object.entries(
20-
import.meta.globEager('../i18n/*.js')
20+
import.meta.glob('../i18n/*.js', { eager: true })
2121
).map(([key, value]) => {
2222
const locale = key.match(/([A-Za-z0-9-_]+)\./i)[1]
2323
return [locale, value.default]

0 commit comments

Comments
 (0)