mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
a5dd21e94a
* docs: refactor config * docs(build): support dev without pre build * docs: disable sourcemap
7 lines
180 B
TypeScript
7 lines
180 B
TypeScript
import fs from 'fs'
|
|
import path from 'path'
|
|
|
|
export const languages = fs.readdirSync(path.resolve(__dirname, '../crowdin'))
|
|
|
|
export const ensureLang = (lang: string) => `/${lang}`
|