File tree Expand file tree Collapse file tree 8 files changed +121
-119
lines changed Expand file tree Collapse file tree 8 files changed +121
-119
lines changed Original file line number Diff line number Diff line change 1
- import { createRequire } from "node:module" ;
2
-
3
- const require = createRequire ( import . meta. url ) ;
1
+ import intro from "./intro.json" with { type : "json" } ;
2
+ import proposals from "./proposals.json" with { type : "json" } ;
3
+ import site from "./site.json" with { type : "json" } ;
4
+ import stage3 from "./stage3.json" with { type : "json" } ;
4
5
5
6
export default {
6
- intro : require ( "./ intro.json" ) ,
7
- proposals : require ( "./ proposals.json" ) ,
8
- site : require ( "./ site.json" ) ,
9
- stage3 : require ( "./ stage3.json" ) ,
7
+ intro : intro ,
8
+ proposals : proposals ,
9
+ site : site ,
10
+ stage3 : stage3 ,
10
11
locale : "de" ,
11
12
lang : "de" ,
12
13
} ;
Original file line number Diff line number Diff line change 1
- import { createRequire } from "node:module" ;
2
-
3
- const require = createRequire ( import . meta. url ) ;
1
+ import intro from "./intro.json" with { type : "json" } ;
2
+ import proposals from "./proposals.json" with { type : "json" } ;
3
+ import site from "./site.json" with { type : "json" } ;
4
+ import stage3 from "./stage3.json" with { type : "json" } ;
4
5
5
6
export default {
6
- intro : require ( "./ intro.json" ) ,
7
- proposals : require ( "./ proposals.json" ) ,
8
- site : require ( "./ site.json" ) ,
9
- stage3 : require ( "./ stage3.json" ) ,
7
+ intro : intro ,
8
+ proposals : proposals ,
9
+ site : site ,
10
+ stage3 : stage3 ,
10
11
locale : "en" ,
11
12
lang : "en" ,
12
13
} ;
Original file line number Diff line number Diff line change 1
- import { createRequire } from "node:module" ;
2
-
3
- const require = createRequire ( import . meta. url ) ;
1
+ import intro from "./intro.json" with { type : "json" } ;
2
+ import proposals from "./proposals.json" with { type : "json" } ;
3
+ import site from "./site.json" with { type : "json" } ;
4
+ import stage3 from "./stage3.json" with { type : "json" } ;
4
5
5
6
export default {
6
- intro : require ( "./ intro.json" ) ,
7
- proposals : require ( "./ proposals.json" ) ,
8
- site : require ( "./ site.json" ) ,
9
- stage3 : require ( "./ stage3.json" ) ,
7
+ intro : intro ,
8
+ proposals : proposals ,
9
+ site : site ,
10
+ stage3 : stage3 ,
10
11
locale : "fr" ,
11
12
lang : "fr" ,
12
13
} ;
Original file line number Diff line number Diff line change 1
- import { createRequire } from "node:module" ;
2
-
3
- const require = createRequire ( import . meta. url ) ;
1
+ import intro from "./intro.json" with { type : "json" } ;
2
+ import proposals from "./proposals.json" with { type : "json" } ;
3
+ import site from "./site.json" with { type : "json" } ;
4
+ import stage3 from "./stage3.json" with { type : "json" } ;
4
5
5
6
export default {
6
- intro : require ( "./ intro.json" ) ,
7
- proposals : require ( "./ proposals.json" ) ,
8
- site : require ( "./ site.json" ) ,
9
- stage3 : require ( "./ stage3.json" ) ,
7
+ intro : intro ,
8
+ proposals : proposals ,
9
+ site : site ,
10
+ stage3 : stage3 ,
10
11
locale : "ja" ,
11
12
lang : "ja" ,
12
13
} ;
Original file line number Diff line number Diff line change 1
- import { createRequire } from "node:module" ;
2
-
3
- const require = createRequire ( import . meta. url ) ;
1
+ import intro from "./intro.json" with { type : "json" } ;
2
+ import proposals from "./proposals.json" with { type : "json" } ;
3
+ import site from "./site.json" with { type : "json" } ;
4
+ import stage3 from "./stage3.json" with { type : "json" } ;
4
5
5
6
export default {
6
- intro : require ( "./ intro.json" ) ,
7
- proposals : require ( "./ proposals.json" ) ,
8
- site : require ( "./ site.json" ) ,
9
- stage3 : require ( "./ stage3.json" ) ,
7
+ intro : intro ,
8
+ proposals : proposals ,
9
+ site : site ,
10
+ stage3 : stage3 ,
10
11
locale : "ru" ,
11
12
lang : "ru" ,
12
13
} ;
Original file line number Diff line number Diff line change 1
- import { createRequire } from "node:module" ;
2
-
3
- const require = createRequire ( import . meta. url ) ;
1
+ import intro from "./intro.json" with { type : "json" } ;
2
+ import proposals from "./proposals.json" with { type : "json" } ;
3
+ import site from "./site.json" with { type : "json" } ;
4
+ import stage3 from "./stage3.json" with { type : "json" } ;
4
5
5
6
export default {
6
- intro : require ( "./ intro.json" ) ,
7
- proposals : require ( "./ proposals.json" ) ,
8
- site : require ( "./ site.json" ) ,
9
- stage3 : require ( "./ stage3.json" ) ,
7
+ intro : intro ,
8
+ proposals : proposals ,
9
+ site : site ,
10
+ stage3 : stage3 ,
10
11
locale : "ua" ,
11
12
lang : "ua" ,
12
13
} ;
Original file line number Diff line number Diff line change 1
- import { createRequire } from "node:module" ;
2
-
3
- const require = createRequire ( import . meta. url ) ;
1
+ import intro from "./intro.json" with { type : "json" } ;
2
+ import proposals from "./proposals.json" with { type : "json" } ;
3
+ import site from "./site.json" with { type : "json" } ;
4
+ import stage3 from "./stage3.json" with { type : "json" } ;
4
5
5
6
export default {
6
- intro : require ( "./ intro.json" ) ,
7
- proposals : require ( "./ proposals.json" ) ,
8
- site : require ( "./ site.json" ) ,
9
- stage3 : require ( "./ stage3.json" ) ,
7
+ intro : intro ,
8
+ proposals : proposals ,
9
+ site : site ,
10
+ stage3 : stage3 ,
10
11
locale : "zh-Hans" ,
11
12
lang : "zh-Hans" ,
12
13
} ;
You can’t perform that action at this time.
0 commit comments