-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
/
Copy pathlangnostic.config.ts
47 lines (45 loc) · 1.13 KB
/
langnostic.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { ConfigType } from 'langnostic';
const config: ConfigType = {
ai: {
provider: 'google',
},
localeConfig: {
source: 'en-US',
target: ['zh-CN'],
},
groups: [
{
name: 'quiz',
plugin: 'mdx',
paths: [
{
source: './packages/quiz/**/en-US.mdx',
target: './packages/quiz/**/{locale}.mdx',
},
],
},
{
name: 'guidebooks',
plugin: 'mdx',
paths: [
{
source: './packages/behavioral-interview-guidebook/**/en-US.mdx',
target: './packages/behavioral-interview-guidebook/**/{locale}.mdx',
},
{
source: './packages/front-end-interview-guidebook/**/en-US.mdx',
target: './packages/front-end-interview-guidebook/**/{locale}.mdx',
},
{
source: './packages/react-interview-playbook/**/en-US.mdx',
target: './packages/react-interview-playbook/**/{locale}.mdx',
},
{
source: './packages/system-design/**/en-US.mdx',
target: './packages/system-design/**/{locale}.mdx',
},
],
},
],
};
export default config;