We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e705101 commit 95cafe8Copy full SHA for 95cafe8
1 file changed
spring-boot-admin-server-ui/src/main/frontend/i18n/index.ts
@@ -3,7 +3,10 @@ import { createI18n } from 'vue-i18n';
3
4
import sbaConfig from '@/sba-config';
5
6
-const context = import.meta.glob('../**/(*.)?i18n.*.json', { eager: true });
+// Use array of patterns instead of extglob (not supported in Vite 8/Rolldown)
7
+const context = import.meta.glob(['../**/i18n.*.json', '../**/*.i18n.*.json'], {
8
+ eager: true,
9
+});
10
const messages = Object.keys(context)
11
.map((key) => {
12
const localeFromFile = /\.*i18n\.?([^/]*)\.json$/.exec(key);
0 commit comments