mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix(build): fix Window build locale (#9995)
build: fix Window build locale
This commit is contained in:
parent
b9173bb658
commit
532f33d4e1
@ -104,7 +104,8 @@ async function buildFullEntry(minify: boolean) {
|
||||
}
|
||||
|
||||
async function buildFullLocale(minify: boolean) {
|
||||
const files = await glob(`${path.resolve(localeRoot, 'lang')}/*.ts`, {
|
||||
const files = await glob(`**/*.ts`, {
|
||||
cwd: path.resolve(localeRoot, 'lang'),
|
||||
absolute: true,
|
||||
})
|
||||
return Promise.all(
|
||||
|
Loading…
Reference in New Issue
Block a user