Skip to content

Commit c7b9201

Browse files
committed
fix: refine i18n extraction command for improved cross-platform compatibility
1 parent fb0df18 commit c7b9201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build-only": "vite build",
1111
"type-check": "vue-tsc --build --force",
1212
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
13-
"i18n:extract": "echo '{}' > i18n-empty.json && vue-i18n-extract report --vueFiles './src/**/*.?(js|vue)' --output ./i18n-messages.json --languageFiles 'i18n-empty.json' --add"
13+
"i18n:extract": "echo {} > i18n-empty.json && vue-i18n-extract report --vueFiles \"./src/**/*.{js,vue}\" --output ./i18n-messages.json --languageFiles \"i18n-empty.json\" --add"
1414
},
1515
"dependencies": {
1616
"@iconify-prerendered/vue-flag": "^0.28.1748584105",

0 commit comments

Comments
 (0)